源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。  堆栈跟踪: 
[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
   Lb_news.Conn.ExecuteSql(String x012da38710ab659f)
   Lb_news.reg.xb370ac1190d7a9bc()
   Lb_news.reg.xa9fe675b1b3a0d1d(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc)
   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() +1247 

解决方案 »

  1.   

    操作必须使用一个可更新的查询
    =========
    应该是权限问题.右键你的数据库。然后点“属性”,然后点“安全”选项卡。在里面把users用户的权限设置为可读,可写就可以了!
      

  2.   

    应该是数据库没有访问权限设置数据库为everyone访问权限就好了http://www.nosoo.com/article/asp/0x80004005.htm
      

  3.   

    100MB asp和 asp.net空间 50/1年
    我看到了一个网站 100MB asp和 asp.net空间 现在促销,
    同学们可以做一个简单的个人网站用来找工作 ,
     支持 asp.net 一年才50元!不要错过哦!!!
    速度非常快,一般公司企业 足够用了!
    http://www.hi876.com 
    希望能对大家有帮助
      

  4.   

    堆栈内的信息我一直都看不懂告诉你个调试的方法吧,因为我是手写代码,所以我不知道怎么在集成环境下调试,有知道的告诉一下他我的方法:我想你的sql语句应该有变量,所以将sql语句给一个string 变量,然后用response.write输出,再将它到数据库中去执行一下,那里有比较好的调试信息给你,会告诉你到底什么地方有问题