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

The database disk image is malformed
database disk image is malformed

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

异常详细信息: System.Data.SQLite.SQLiteException: The database disk image is malformed
database disk image is malformed

源错误:

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

堆栈跟踪:


[SQLiteException (0x80004005): The database disk image is malformed
database disk image is malformed]
   UPCMS.Manage.SQLite.SQLiteHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SQLiteParameter[] cmdParms) +426
   UPCMS.Manage.SQLite.SQLiteHelper.ExecuteReader(String connectionString, String commandText, CommandType commandType) +53
   UPCMS.Manage.SQLite.SQLiteHelper.SelectPaging(String connString, String tableName, String strColumns, String strWhere, String strOrder, Int32 pageSize, Int32 currentIndex, Int32& recordOut) +447
   UPCMS.Manage.SQLite.DAL.dal_base`1.page(Int32 index, Int32& count, String where, String orderBy, Int32 size) +273
   UPCMS.Manage.SQLite.BLL.bll_base`2.page(Int32 index, Int32& count, String where, Int32 size, String orderBy) +198
   UPCMS.Manage.SQLite.BLL.bll_tb_product.pagePro(page& p, Int32 pindex, Int32 size, String where) +123
   UPCMS.Manage.SQLite.BLL.bll_tb_product.pagePro(page& p, Int32 pindex, Int32 size, Nullable`1 cateId) +446
   UPCMS.Manage.Models.SQLiteAdapter.set_pro_ls(Nullable`1 pindex, Nullable`1 cateId) +236
   UPCMS.Manage.Controllers.HomeController.Route(String viewName, String param) +2002
   lambda_method(Closure , ControllerBase , Object[] ) +147
   System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +19
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +212
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +55
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +253
   System.Web.Mvc.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() +25
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +189
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +324
   System.Web.Mvc.Controller.ExecuteCore() +105
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +90
   System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +12
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +34
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +16
   System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +15
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +58
   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +45
   System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) +12
   System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +23
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +60
   System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +11
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9875181
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.4087.0