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

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

源错误:


行 103:                        </div>
行 104:                        <div class="prorelated">
行 105:                            @foreach (var p in get_pro_about(5))
行 106:                            {
行 107:                                <div class="about_p">

源文件: d:\wwwroot\qixinggd\wwwroot\Skins\bf027\Views\Home\productdetail.cshtml    行: 105

堆栈跟踪:


[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.DAL.dal_base`1.top(Nullable`1 top, String where, String orderBy) +431
   UPCMS.Manage.SQLite.BLL.bll_tb_product.about(Int32 top, Nullable`1 proId, Int32[] taglist) +1517
   UPCMS.Manage.Models.SQLiteAdapter.get_pro_about(Int32 top, Nullable`1 proId, Int32[] taglist) +80
   UPCMS.Manage.Models.RazorExtend`1.get_pro_about(Int32 top) +1775
   ASP._Page_Skins_bf027_Views_Home_productdetail_cshtml.Execute() in d:\wwwroot\qixinggd\wwwroot\Skins\bf027\Views\Home\productdetail.cshtml:105
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +196
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +111
   System.Web.WebPages.StartPage.RunPage() +19
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +62
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +76
   System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +221
   System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +115
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +294
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +15
   System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +23
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +242
   System.Web.Mvc.<>c__DisplayClass1e.<InvokeActionResultWithFilters>b__1b() +25
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +175
   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