首先,我沒有搜索頁面的搜索結果,即使它們在索引中。我已經刪除索引,創建新的,想頁面內容類型添加到它,但現在當我救我得到以下錯誤:發生果園內容類型保存錯誤
未處理的異常,並請求被終止。請刷新頁面。如果錯誤仍然存在,回去
無法執行查詢[選擇indexingta0_.Id爲Id154_,indexingta0_.Action爲Action154_,indexingta0_.CreatedUtc爲CreatedUtc154_,indexingta0_.ContentItemRecord_id作爲ContentI4_154_從Orchard_Indexing_IndexingTaskRecord indexingta0_其中[email protected] ] Name:p1 - Value:Orchard.ContentManagement.Records.ContentItemRecord [SQL:select indexingta0_.Id as Id154_,indexingta0_.Action as Action154_,indexingta0_.CreatedUtc as CreatedUtc154_,indexingta0_.ContentItemRecord_id as ContentI4_154_ from Orchard_Indexing_IndexingTaskRecord indexingta0_ where indexingta0_.ContentItemRecord_id = @ P0]
NHibernate.Exceptions.GenericADOException:無法執行查詢[選擇indexingta0_.Id爲Id1的54_,indexingta0_.Action as Action154_,indexingta0_.CreatedUtc as CreatedUtc154_,indexingta0_.ContentItemRecord_id as ContentI4_154_ from Orchard_Indexing_IndexingTaskRecord indexingta0_ where [email protected]] Name:p1 - Value:Orchard.ContentManagement.Records.ContentItemRecord [SQL:select indexingta0_.Id如Id154_,indexingta0_.Action as Action154_,indexingta0_.CreatedUtc as CreatedUtc154_,indexingta0_.ContentItemRecord_id as ContentI4_154_ from Orchard_Indexing_IndexingTaskRecord indexingta0_ where [email protected]] ---> System.Data.SqlClient.SqlException:無效的對象名稱'Orchard_Indexing_IndexingTaskRecord'。聲明無法準備。 System.Data.SqlClient.SqlConnection.OnError(SqlException異常,布爾breakConnection,動作1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action
1 wrapCloseInAction)在System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj,布爾callerHasConnectionLock,布爾asyncClose)在System.Data.SqlClient.TdsParser 。System.Data上System.Data.SqlClient.SqlDataReader.get_MetaData()System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()上的.TryRun(RunBehavior runBehavior,SqlCommand cmdHandler,SqlDataReader dataStream,BulkCopySimpleResultSet bulkCopyHandler,TdsParserStateObject stateObj,布爾& dataReady) .SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,RunBehavior runBehavior,String resetOptionsString)at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior,RunBehavior runBehavior,Boolean returnStream,Boolean async,Int32 timeout,任務& task,Boolean asyncWrite ,SqlDataReader ds)在System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,RunBehavior runBehavior,Boolean returnStream,String method,TaskCompletionSource 1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() at NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd) in c:\Users\sebros\Documents\My Projects\nhibernate-core\src\NHibernate\AdoNet\AbstractBatcher.cs:line 229 at NHibernate.Loader.Loader.GetResultSet(IDbCommand st, Boolean autoDiscoverTypes, Boolean callable, RowSelection selection, ISessionImplementor session) in c:\Users\sebros\Documents\My Projects\nhibernate-core\src\NHibernate\Loader\Loader.cs:line 1224 at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) in c:\Users\sebros\Documents\My Projects\nhibernate-core\src\NHibernate\Loader\Loader.cs:line 419 at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) in c:\Users\sebros\Documents\My Projects\nhibernate-core\src\NHibernate\Loader\Loader.cs:line 251 at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) in c:\Users\sebros\Documents\My Projects\nhibernate-core\src\NHibernate\Loader\Loader.cs:line 1564 --- End of inner exception stack trace --- at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) in c:\Users\sebros\Documents\My Projects\nhibernate-core\src\NHibernate\Loader\Loader.cs:line 1571 at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) in c:\Users\sebros\Documents\My Projects\nhibernate-core\src\NHibernate\Loader\Loader.cs:line 1472 at NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet
1 querySpaces,IType [] resultTypes)in c:\ Users \ sebros \ Documents \ My Projects \在NHibernate.HQL.Ast.ANTLR.Loader.QueryLoader.List(ISessionImplementor會話,QueryParameters queryParameters)中的第1465行:c:\ Users \ sebros \ Documents \ My Projects \ nhibernate-core \ src \ NHibernate \ Loader \ Loader.cs: NHibernate的核\ SRC \ NHibernate的\ HQL \阿斯特\ ANTLR \裝載機\ QueryLoader.cs:線288在NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.List(ISessionImplementor會話,queryParameters queryParameters)在C:\用戶\ sebros \文件\我的項目\ NHibernate的核\ SRC \ NHibernate的\ HQL \阿斯特\ ANTLR \ QueryTranslatorImpl.cs:線109在NHibernate.Engine.Query.HQLQueryPlan.PerformList(queryParameters queryParameters,ISessionImplementor會話,IList的結果)在C:\用戶\ sebros \ Documents \ My Projects \ nhibernate-core \ sr在NHibernate.Impl.SessionImpl.List(IQueryExpression queryExpression,QueryParameters queryParameters,IList結果)中的第89行是c:\ Users \ sebros \ Documents \ My Projects \ nhibernate-core \ src中的第89行:c \ NHibernate \ Engine \ Query \ HQLQueryPlan.cs: \ NHibernate的\默認地將Impl \ SessionImpl.cs:線659在NHibernate.Impl.AbstractSessionImpl.List(IQueryExpression queryExpression,QueryParameters參數)在C:\用戶\ sebros \ Documents \我項目\ NHibernate的核\ SRC \ NHibernate的\默認地將Impl \ AbstractSessionImpl .cs:第92行NHibernate.Impl.ExpressionQueryImpl.List()在c:\ Users \ sebros \ Documents \ My Projects \ nhibernate-core \ src \ NHibernate \ Impl \ ExpressionQueryImpl.cs中:line 58 at NHibernate.Linq.DefaultQueryProvider 。ExecuteQuery(NhLinqExpression nhLinqExpression,IQuery查詢,NhLinqExpression nhQuery)在c:\ Users \ sebros \ Documents \ My Projects \ nhibernate-core \ src \ NHibernate \ Linq \ DefaultQueryProvider.cs:第103行NHibernate.Linq.DefaultQueryProvider.Execute(Expression表達式)在c:\ Users \ sebros \ Documents \ My Projects \ nhibernate-core \ src \ NHibernate \ Linq \ DefaultQueryProvider.cs中:第35行:NHibernate.Linq.DefaultQueryProvider.Execute [TResult](Expression expression)in c:\ Users \ sebros \ Documents \ My Projects \ nhibernate-core \ src \ NHibernate \ Linq \ DefaultQueryProvider.cs:第40行Remotion.Linq.QueryableBase 1.GetEnumerator() in :line 0 at Orchard.Indexing.Services.IndexingTaskManager.CreateTask(ContentItem contentItem, Int32 action) at Orchard.Indexing.Services.IndexingTaskManager.CreateUpdateIndexTask(ContentItem contentItem) at Orchard.Indexing.Settings.EditorEvents.CreateTasksForType(String type) at Orchard.Indexing.Settings.EditorEvents.CreateIndexingTasks() at Orchard.Indexing.Settings.EditorEvents.<TypeEditorUpdate>d__4.MoveNext() at Orchard.Events.DefaultOrchardEventBus.<NotifyHandlers>d__0.MoveNext() in e:\01 CODE\TurkLine\Metalyapi\src\Orchard\Events\DefaultOrchardEventBus.cs:line 43 at System.Linq.Buffer
1..ctor(IEnumerable 1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable
1 source)at Orchard.Events.DefaultOrchardEventBus.Notify (String messageName,IDictionary 2 eventData) in e:\01 CODE\TurkLine\Metalyapi\src\Orchard\Events\DefaultOrchardEventBus.cs:line 27 at Orchard.Events.EventsInterceptor.Intercept(IInvocation invocation) in e:\01 CODE\TurkLine\Metalyapi\src\Orchard\Events\EventsInterceptor.cs:line 26 at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.IContentDefinitionEditorEventsProxy.TypeEditorUpdate(ContentTypeDefinitionBuilder builder, IUpdateModel updateModel) at Orchard.ContentTypes.Services.ContentDefinitionService.<>c__DisplayClass10.<AlterType>b__7(ContentTypeDefinitionBuilder typeBuilder) at Orchard.ContentManagement.MetaData.ContentDefinitionManagerExtensions.AlterTypeDefinition(IContentDefinitionManager manager, String name, Action
1 alteration)在e:\ 01 CODE \ TurkLine \ Metalyapi \ src \ Orchard \ ContentManagement \ MetaData \ IContentDefinitionManager.cs中:第26行Orchard.ContentTypes.Services.ContentDefinitionService.AlterType(EditTypeV (ControllerBase控制器,Object []參數)上的Orchard.ContentTypes.Controllers.AdminController.EditPOST(String id)在lambda_method(Closure,ControllerBase,Object [])上的iewModel typeViewModel,IUpdateModel updateModel) System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext,IDictionary 2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary
2 parameters)at System.Web.Mvc.Async.AsyncControllerActionInvoker.b__39(IAsyncResult asyncResult,ActionInvocation innerInvokeState)at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult 2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase
1.在System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters上的System.Web.Mync.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b__3f()上的System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)上的End() 。 <> c__DisplayClass48.b__41()在System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters。 <> c__DisplayClass48.b__41()在System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters。 <> c__DisplayClass48.b__41()
我使用的烏節1.8.1
這隻發生的搜索,索引和Lucene被打開.... – 2015-03-20 10:29:01