“/”应用程序中的服务器错误。。。。

    Attempt to write a read-only database
    attempt to write a readonly database

    说明: 执行当前 Web 请求期间,,出现未经处理的异常。。。请检查堆栈跟踪信息,,以了解有关该错误以及代码中导致错误的出处的详细信息。。。。

    异常详细信息: System.Data.SQLite.SQLiteException: Attempt to write a read-only database
    attempt to write a readonly database

    源错误:

    执行当前 Web 请求期间生成了未经处理的异常。。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。。

    堆栈跟踪:

    
    [SQLiteException (0x80004005): Attempt to write a read-only database
    attempt to write a readonly database]
       System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) +389
       System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) +209
       System.Data.SQLite.SQLiteDataReader.NextResult() +244
       System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) +87
       System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) +38
       System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() +33
       Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) +93
       Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) +688
       Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) +93
       System.DapperHelper.Execute(String sql, Object param) in e:\工作区\product2020\202008\福建尊龙时凯智能科技有限公司\DFcms2019\DF.M\Base\DapperHelper.cs:136
       System.DapperHelper.Update(String tableName, Int32 id, String condition) in e:\工作区\product2020\202008\福建尊龙时凯智能科技有限公司\DFcms2019\DF.M\Base\DapperHelper.cs:199
       M.ModelBase`1.Update(Int32 id, String condition) in e:\工作区\product2020\202008\福建尊龙时凯智能科技有限公司\DFcms2019\DF.M\Base\ModelBase.cs:130
       DF.Web.controllers.cnController.show(Int32 id) in e:\工作区\product2020\202008\福建尊龙时凯智能科技有限公司\DFcms2019\DF.Web\controllers\cnController.cs:139
       lambda_method(Closure , ControllerBase , Object[] ) +97
       System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
       System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +182
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
       System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +28
       System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +10
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
       System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +58
       System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +228
       System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +10
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
       System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +24
       System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +99
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
       System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +14
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +38
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
       System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +28
       System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
       System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +25
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
       System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +28
       System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9836613
       System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163
    


    版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4075.0
    站点地图