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

SQL logic error or missing database
no such column: this_.DataSourceName

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

异常详细信息: System.Data.SQLite.SQLiteException: SQL logic error or missing database
no such column: this_.DataSourceName

源错误:


[没有相关的源行]

源文件: f:\usr\localuser\bxw2343250169\Theme\Output\br\PictureList_other.html.cshtml.cs    行: 0

堆栈跟踪:


[SQLiteException (0x1): SQL logic error or missing database
no such column: this_.DataSourceName]
   System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain) +1225
   System.Data.SQLite.SQLiteCommand.BuildNextCommand() +366
   System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index) +18
   System.Data.SQLite.SQLiteDataReader.NextResult() +309
   System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) +269
   System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) +45
   System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior) +4
   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() +12
   NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd) +322
   NHibernate.Loader.Loader.GetResultSet(IDbCommand st, Boolean autoDiscoverTypes, Boolean callable, RowSelection selection, ISessionImplementor session) +256
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +181
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +126
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +151

[GenericADOException: could not execute query
[ SELECT this_.[Id] as column1_52_0_, this_.[ExtendTableId] as column2_52_0_, this_.[FieldName] as column3_52_0_, this_.[FieldType] as column4_52_0_, this_.[FieldLength] as column5_52_0_, this_.[DisplayName] as column6_52_0_, this_.[Tip] as column7_52_0_, this_.[IsEnable] as column8_52_0_, this_.[InputType] as column9_52_0_, this_.[DefaultValue] as column10_52_0_, this_.[OptionData] as column11_52_0_, this_.[IsValidate] as column12_52_0_, this_.[IsRequired] as column13_52_0_, this_.[MinLength] as column14_52_0_, this_.[MaxLength] as column15_52_0_, this_.[ValidateRegex] as column16_52_0_, this_.[ErrorMessage] as column17_52_0_, this_.[CreateTime] as column18_52_0_, this_.[CreateUserId] as column19_52_0_, this_.[LastUpdateTime] as column20_52_0_, this_.[UpdateUserId] as column21_52_0_, this_.[DataSourceName] as column22_52_0_, this_.[DataSourceLinkageName] as column23_52_0_, this_.[OrderNumber] as column24_52_0_ FROM Sys_ExtendField this_ WHERE this_.[ExtendTableId] = @p0 and this_.[FieldName] = @p1 ]
  Name:cp0 - Value:7  Name:cp1 - Value:area
[SQL: SELECT this_.[Id] as column1_52_0_, this_.[ExtendTableId] as column2_52_0_, this_.[FieldName] as column3_52_0_, this_.[FieldType] as column4_52_0_, this_.[FieldLength] as column5_52_0_, this_.[DisplayName] as column6_52_0_, this_.[Tip] as column7_52_0_, this_.[IsEnable] as column8_52_0_, this_.[InputType] as column9_52_0_, this_.[DefaultValue] as column10_52_0_, this_.[OptionData] as column11_52_0_, this_.[IsValidate] as column12_52_0_, this_.[IsRequired] as column13_52_0_, this_.[MinLength] as column14_52_0_, this_.[MaxLength] as column15_52_0_, this_.[ValidateRegex] as column16_52_0_, this_.[ErrorMessage] as column17_52_0_, this_.[CreateTime] as column18_52_0_, this_.[CreateUserId] as column19_52_0_, this_.[LastUpdateTime] as column20_52_0_, this_.[UpdateUserId] as column21_52_0_, this_.[DataSourceName] as column22_52_0_, this_.[DataSourceLinkageName] as column23_52_0_, this_.[OrderNumber] as column24_52_0_ FROM Sys_ExtendField this_ WHERE this_.[ExtendTableId] = @p0 and this_.[FieldName] = @p1]]
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +239
   NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) +18
   NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes) +79
   NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) +645
   NHibernate.Impl.CriteriaImpl.List(IList results) +49
   NHibernate.Impl.CriteriaImpl.List() +58
   Systen.Framework.Dao.GenericDao`1.Get(Order order, ICriterion[] criterions) +364
   Systen.Framework.Dao.GenericDao`1.Get(ICriterion[] criterions) +55
   Castle.Proxies.Invocations.IGenericDao`1_Get_49.InvokeMethodOnTarget() +60
   Castle.DynamicProxy.AbstractInvocation.Proceed() +57
   Castle.Facilities.AutoTx.TransactionInterceptor.Intercept(IInvocation invocation) +129
   Castle.DynamicProxy.AbstractInvocation.Proceed() +89
   Castle.Proxies.IExtendFieldServiceProxy.Get(ICriterion[] criterions) +134
   Systen.Extend.TagHelpers.ExtendFieldListTagHelper.GetDataSource() +4831
   Systen.Cms.TemplateEngine.TagHelpers.<ProcessAsync>d__51.YUR9EuvVN8hnAXQpJAc(Object ) +41
   Systen.Cms.TemplateEngine.TagHelpers.<ProcessAsync>d__51.MoveNext() +1126
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +93
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +52
   Microsoft.AspNetCore.Razor.Runtime.TagHelpers.<RunAsync>d__0.MoveNext() +337
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +93
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +52
   Systen.TemplateEngine.br.<<ExecuteAsync>b__a2>d__c4.MoveNext() in :51
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +93
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +52
   Microsoft.AspNetCore.Razor.Runtime.TagHelpers.<GetChildContentAsync>d__31.MoveNext() +279
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +93
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +52
   System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() +24
   Systen.Cms.TemplateEngine.TagHelpers.<ProcessAsync>d__1.MoveNext() +1735
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +93
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +52
   Microsoft.AspNetCore.Razor.Runtime.TagHelpers.<RunAsync>d__0.MoveNext() +337
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +93
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +52
   System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) +10818292
   Systen.TemplateEngine.br.<ExecuteAsync>d__ff.MoveNext() in f:\usr\localuser\bxw2343250169\Theme\Output\br\PictureList_other.html.cshtml.cs:0

[AggregateException: 发生一个或多个错误。]
   System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) +3650617
   System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) +10816173
   System.Threading.Tasks.Task.Wait() +10
   Systen.Cms.Core.Route.CreateHtmlHelper.XtQA5Wd1omQkuwkSylI(Object ) +33
   Systen.Cms.Core.Route.CreateHtmlHelper.GetHtml(TemplatePageBase templatePage, DynamicTemplateData templateParameters, String outHtmlFullPath) +387
   System.Dynamic.UpdateDelegates.UpdateAndExecute4(CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) +738
   CallSite.Target(Closure , CallSite , Type , TemplatePageBase , Object , String ) +298
   Systen.Cms.Core.Route.ContentPageRoute.WriteHtml(HttpContextBase httpContext, Site dataSourceSite, TemplatePageBase templatePage, IDictionary`2 templateParameters, String urlFileName) +3944
   Systen.Cms.Core.Route.ContentPageRoute.GetRouteData(HttpContextBase httpContext) +2782
   System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +233
   System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +60
   System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +82
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69


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