当前位置:编程学习 > C#/ASP.NET >>

求救啊!!……操作必须使用一个可更新的查询。

求助各位啊,网页打开提示这个内容怎么解决啊,,百度了白天了都没解决。
Server Error in '/' 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: 

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: 


[OleDbException (0x80004005): 操作必须使用一个可更新的查询。]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +267
   System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +192
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +48
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +106
   System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +108
   BaiRong.Core.Data.Helper.AdoHelper.ExecuteNonQuery(IDbCommand command) +167
   BaiRong.Core.Data.Helper.AdoHelper.ExecuteNonQuery(IDbConnection connection, CommandType commandType, String commandText, IDataParameter[] commandParameters) +129
   BaiRong.Core.Data.Helper.AdoHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, IDataParameter[] commandParameters) +159
   BaiRong.Core.Data.Provider.DataProviderBase.ExecuteNonQuery(String commandText, IDataParameter[] commandParameters) +146
   UserCenter.Provider.Admin.AdminHandlerImpl.UpdateLastActivityDate(String userName, String moduleID) +277
   SiteServer.BackgroundPages.GeneralMain.Page_Load(Object sender, EventArgs E) +107
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +45
   System.Web.UI.Control.OnLoad(EventArgs e) +98
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4314

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 --------------------编程问答-------------------- 问题解决,,, --------------------编程问答-------------------- 你这属于自问自答? --------------------编程问答-------------------- 不过解决了就好。 --------------------编程问答-------------------- 除了你的sql外还能是什么 --------------------编程问答-------------------- 调试看看SQL语句就晓得问题了。 --------------------编程问答-------------------- 参考http://blog.163.com/my____email@126/blog/static/3042102120073841950930/ --------------------编程问答-------------------- 是不是用了vs代码管理 --------------------编程问答-------------------- 應該使用錯方法了 --------------------编程问答-------------------- 估计是用查询SQL语句,执行了非查询的方法。 --------------------编程问答-------------------- --------------------编程问答--------------------
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,