nhibernate开发程序里新添加的表出现in expected: keFuEvent [select keFuEvent from KeFuEvent keFuEvent order by keFuEvent.Id desc]
“/WebSite”应用程序中的服务器错误。--------------------------------------------------------------------------------
in expected: keFuEvent [select keFuEvent from KeFuEvent keFuEvent order by keFuEvent.Id desc]
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: NHibernate.QueryException: in expected: keFuEvent [select keFuEvent from KeFuEvent keFuEvent order by keFuEvent.Id desc]
源错误:
行 113: BtuPagerTemplage.GridView = this;
行 114: this.PagerTemplate = BtuPagerTemplage;
行 115: base.CreateChildControls();
行 116: }
行 117: protected override System.Collections.ICollection CreateColumns(PagedDataSource dataSource, bool useDataSource)
源文件: E:\复件 BasicStartNew\复件 BasicStartNew\BtuControl\BtuGridView.cs 行: 115
堆栈跟踪:
[QueryException: in expected: keFuEvent [select keFuEvent from KeFuEvent keFuEvent order by keFuEvent.Id desc]]
NHibernate.Hql.FromParser.Token(String token, QueryTranslator q) +1770
NHibernate.Hql.ClauseParser.Token(String token, QueryTranslator q) +1119
NHibernate.Hql.PreprocessingParser.Token(String token, QueryTranslator q) +813
NHibernate.Hql.ParserHelper.Parse(IParser p, String text, String seperators, QueryTranslator q) +195
NHibernate.Hql.QueryTranslator.Compile() +159
NHibernate.Hql.QueryTranslator.Compile(IDictionary replacements, Boolean scalar) +81
NHibernate.Impl.SessionFactoryImpl.GetQuery(String queryString, Boolean shallow) +249
NHibernate.Impl.SessionImpl.GetQueries(String query, Boolean scalar) +73
NHibernate.Impl.SessionImpl.Find(String query, QueryParameters parameters, IList results) +183
NHibernate.Impl.SessionImpl.Find(String query, QueryParameters parameters) +112
NHibernate.Impl.QueryImpl.List() +168
ProjectObjects.BtuDAL.DALKeFuEvent.SelectList(String fdShow, String searchText, Int32 pageSize, Int32 startRowIndex, String sortExpression) in C:\Documents and Settings\Administrator\桌面\BasicStartNew\ProjectObject\BtuDAL\DALKeFuEvent.cs:187
ProjectObjects.BtuDAL.DALKeFuEvent.Select(String fdShow, String searchText, Int32 pageSize, Int32 startRowIndex, String sortExpression) in C:\Documents and Settings\Administrator\桌面\BasicStartNew\ProjectObject\BtuDAL\DALKeFuEvent.cs:203
ProjectObjects.BtuBLL.BLLKeFuEvent.Select(String fdShow, String searchText, Int32 pageSize, Int32 startRowIndex, String sortExpression) in C:\Documents and Settings\Administrator\桌面\BasicStartNew\ProjectObject\BtuBLL\BLLKeFuEvent.cs:143
ProjectObjects.BtuBLL.BLLKeFuEvent.Select(String searchText, Int32 pageSize, Int32 startRowIndex, String sortExpression) in C:\Documents and Settings\Administrator\桌面\BasicStartNew\ProjectObject\BtuBLL\BLLKeFuEvent.cs:182
[TargetInvocationException: 调用的目标发生了异常。]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +72
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +358
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +484
System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1867
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +13
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +139
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +68
System.Web.UI.WebControls.GridView.DataBind() +5
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +61
System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +67
BtuControl.BtuGridView.CreateChildControls() in E:\复件 BasicStartNew\复件 BasicStartNew\BtuControl\BtuGridView.cs:115
System.Web.UI.Control.EnsureChildControls() +97
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsy
补充:.NET技术 , Web Services