网奇论坛网奇产品区网奇Eshop商城购物系统 [求教]我下载商城V3以后,进入后台管理,添加商品点保存,出现这个是什么意思

1  /  1  页   1 跳转 查看:3373

[求教]我下载商城V3以后,进入后台管理,添加商品点保存,出现这个是什么意思

[求教]我下载商城V3以后,进入后台管理,添加商品点保存,出现这个是什么意思

 

Server Error in '/test' Application.



操作必须使用一个可更新的查询。

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: 操作必须使用一个可更新的查询。

Source Error/B>





An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace/B>





[OleDbException (0x80004005): 操作必须使用一个可更新的查询。]
  System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) +41
  System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +174
  System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +92
  System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +65
  System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +112
  System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +66
  wqshop.ProductDB.AddProduct(String name, String categoryIDs, String productNo, String brand, String customFieldValues, String shortDesc, String unit, Int32 weight, Decimal marketPrice, Decimal memberPrice, Int32 score, String thumbnailImg, String productImg, String description, Int32 storage, Int32 miniNum, Boolean isForSale, Boolean isCommend, Boolean isHot, Boolean isSpecialOffer, DateTime addTime, Int32 status, Boolean isVirtual, Boolean canReview, Boolean isDiscount, String relatedProductIDs, String relatedImgs)
  wqshop.Admin.ProductAdd.btnSave_Click(Object sender, EventArgs e)
  System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
  System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
  System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
  System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
  System.Web.UI.Page.ProcessRequestMain() +1277




Version Information/B> Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
 

我是在自己的机器上试用


我的系统是xp和2000 pro。装了2000以后,安装的iis和.net framework,iis添加虚拟目录并指向wqshopv3那个文件夹。系统提示我mdac版本低于2.6,我下载安装mdac2.7。然后就能在浏览器上访问商城和后台了。不知道上面的错误出在哪里

 

商品管理我修改了一下产品价格,出现如下界面



Server Error in '/test' Application.



Access to the path "G:\wqshopv3\wqshopv3\allpages.txt" is denied.


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path "G:\wqshopv3\wqshopv3\allpages.txt" is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error/B>





An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace/B>





[UnauthorizedAccessException: Access to the path "G:\wqshopv3\wqshopv3\allpages.txt" is denied.]
  System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
  System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
  System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) +43
  wqshop.ConfigDB.UpdateCacheFile(String filename)
  wqshop.Admin.ProductAdd.btnSave_Click(Object sender, EventArgs e)
  System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
  System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
  System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
  System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
  System.Web.UI.Page.ProcessRequestMain() +1277





Version Information/B> Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

 

好像我公告添加什么的,只要改动的,就出现操作必须使用一个可更新的查询。
 

谁来帮我回答一下啊
 

设置everyone权限

 

谢谢你的回答,请问在哪里设置阿
 

1、 右键点击所需要设置的文件夹(如db或者upload文件夹),并选择“共享与安全”选项;



2、 选择安全标签,设置Users用户组有可写权限,如图1;如果运行还会出现错误则设置Everyone用户有可写权限。


网奇-中国建站第一品牌!
 

哦了,谢谢各位,已经搞定
 

呵呵,还有很多文件和文件夹是需要写权限的,希望下一版本能出一个列表来说明。

 

又学习了一点


大家好问一点问题,再集中一下,就好了

 
1  /  1  页   1 跳转

版权所有 网奇论坛   Sitemap

Powered by Discuz!NT 2.1.202    Copyright © 2001-2009 Comsenz Inc.
Processed in 0.09375 second(s) , 4 queries.
返顶部