Wir hatten letztens das Problem, dass wir keine benutzerdefinierten Eigenschaft anlegen konnten. Beim Erstellen gab es stets die Fehlermeldung „Unexpected error occurred while communicating with Administration Service“.

FASTBlog1

Wir begaben uns also auf die Suche in den SharePoint Logs und fanden folgende Einträge:

Update ManageProperty failed   Microsoft.SharePoint.Search.Extended.Administration.Common.AdminException:   The operation could not be completed successfully. Please check the log files   AdminService_<hostname>.log and bliss_<hostname>.log files for   more details. —>   System.ServiceModel.FaultException`1[Microsoft.SharePoint.Search.Extended.Administration.Exceptions.AdminExceptionWCF]:   The operation could not be completed successfully. Please check the log files   AdminService_<hostname>.log and bliss_<hostname>.log files for   more details. (Fehlerdetail ist gleich   Microsoft.SharePoint.Search.Extended.Administration.Exceptions.AdminExceptionWCF).       — Ende der internen Ausnahmestapelüberwachung —       bei   Microsoft.SharePoint.Search.Extended.Administration.WCF.ServiceClientExceptionHandler.Tra…

…nslateException(Exception   e)     bei   Microsoft.SharePoint.Search.Extended.Administration.Common.ServiceClientExceptionHandlingInterceptor.Execute[T](Func`1   target, String errorCode, String[] values)     bei   Microsoft.SharePoint.Search.Extended.Administration.Common.ServiceClientExceptionHandlingInterceptor.Execute[T](Func`1   target)     bei   Microsoft.SharePoint.Search.Extended.Administration.Schema.ManagedPropertyCollectionImpl.Create(String   Name, String Description, ManagedType Type, Boolean queryable,   ManagedPropertySortableType sortableType, Boolean enableLemmatization,   SummaryType summaryType, Boolean mappingDisallowed, Boolean   deleteDisallowed)     bei   Microsoft.Office.Server.Search.Extended.Administration.Facade.ManagedPropertyHelper.SaveManagedProperty(Mode   AddNew, String ManagedProp..

…ertyName, String ManagedPropertyDesc,   String TypeString, Boolean IncludeValues, List`1 toCPList, Boolean Sortable,   Boolean Queryable, Boolean RefinementEnabled, Boolean RefinementDeep, Int32   FullTextIndexMapping, Boolean StemmingEnabled, Int32 ResultType)

Admin OM Exception   Microsoft.SharePoint.Search.Extended.Administration.Common.AdminException:   The operation could not be completed successfully. Please check the log files   AdminService_<hostname>.log and bliss_<hostname>.log files for   more details. —>   System.ServiceModel.FaultException`1[Microsoft.SharePoint.Search.Extended.Administration.Exceptions.AdminExceptionWCF]:   The operation could not be completed successfully. Please check the log files   AdminService_<hostname>.log and bliss_<hostname>.log files for   more details. (Fehlerdetail ist gleich   Microsoft.SharePoint.Search.Extended.Administration.Exceptions.AdminExceptionWCF).       — Ende der internen Ausnahmestapelüberwachung —       bei Microsoft.SharePoint.Search.Extended.Administration.WCF.ServiceClientExceptionHandler.TranslateExce…

…ption(Exception e)       bei   Microsoft.SharePoint.Search.Extended.Administration.Common.ServiceClientExceptionHandlingInterceptor.Execute[T](Func`1   target, String errorCode, String[] values)     bei   Microsoft.SharePoint.Search.Extended.Administration.Common.ServiceClientExceptionHandlingInterceptor.Execute[T](Func`1   target)     bei   Microsoft.SharePoint.Search.Extended.Administration.Schema.ManagedPropertyCollectionImpl.Create(String   Name, String Description, ManagedType Type, Boolean queryable,   ManagedPropertySortableType sortableType, Boolean enableLemmatization,   SummaryType summaryType, Boolean mappingDisallowed, Boolean   deleteDisallowed)     bei   Microsoft.Office.Server.Search.Extended.Administration.Facade.ManagedPropertyHelper.SaveManagedProperty(Mode   AddNew, String ManagedPropertyName,…

…String ManagedPropertyDesc, String   TypeString, Boolean IncludeValues, List`1 toCPList, Boolean Sortable, Boolean   Queryable, Boolean RefinementEnabled, Boolean RefinementDeep, Int32   FullTextIndexMapping, Boolean StemmingEnabled, Int32   ResultType)     bei   Microsoft.Office.Server.Search.Extended.Administration.Internal.UI.AddManagedProperty.SaveData(Mode   mode)

&Wir fanden also den Hinweis uns die Log-Files auf dem FAST-Search-Server AdminService_<hostname>.log und den bliss_<hostname>.log files genauer anzuschauen.

Dort fanden wir wiederum folgende Einträge:

2013-05-07 17:33:04] ERROR     : AdminService@FASTSearch: systemmsg: Microsoft.SharePoint.Search.Extended.Administration.Common.AdminException: Could not  retrieve crawled property ‚content-language‘.    bei Microsoft.SharePoint.Search.Extended.Administration.Schema.DB.SchemaDAOImpl.GetCrawledProperty(Guid propset, String Name, Int32 variantType)    bei Microsoft.SharePoint.Search.Extended.Administration.WCF.SchemaServiceImpl.<>c__DisplayClass7d.<GetCrawledProperty>b__7c()    bei Microsoft.SharePoint.Search.Extended.Administration.TransactionalInterceptor.AttemptTransaction[T](Func`1 target, TransactionOptions options)    bei Microsoft.SharePoint.Search.Extended.Administration.TransactionalInterceptor.DoInTransaction[T](Func`1 target, TransactionOptions options, String errorCode, String[] values) — caught here —    at Microsoft.SharePoint.Search.Extended.Administration.TransactionalInterceptor.DoInTransaction()in :line 0    at Microsoft.SharePoint.Search.Extended.Administration.TransactionalInterceptor.DoInTransaction()in :line 0    at Microsoft.SharePoint.Search.Extended.Administration.TransactionalInterceptor.Execute()in :line 0    at Microsoft.SharePoint.Search.Extended.Administration.WCF.SchemaServiceImpl.GetCrawledProperty()in :line 0    at .SyncInvokeGetCrawledProperty()in :line 0    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke()in :line 0    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin()in :line 0    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5()in :line 0    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4()in :line 0    at System.ServiceModel.Dispatcher.MessageRpc.Process()in :line 0    at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump()in :line 0    at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest()in :line 0    at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump()in :line 0    at System.ServiceModel.Diagnostics.Utility+AsyncThunk.UnhandledExceptionFrame()in :line 0    at System.ServiceModel.AsyncResult.Complete()in :line 0    at System.ServiceModel.Channels.InputQueue`1+AsyncQueueReader[T].Set()in :line 0    at System.ServiceModel.Channels.InputQueue`1[T].EnqueueAndDispatch()in :line 0    at System.ServiceModel.Channels.InputQueue`1[T].EnqueueAndDispatch()in :line 0    at System.ServiceModel.Channels.InputQueueChannel`1[TDisposable].EnqueueAndDispatch()in :line 0    at System.ServiceModel.Channels.SingletonChannelAcceptor`3[ChannelInterfaceType,TChannel,QueueItemType].Enqueue()in :line 0    at System.ServiceModel.Channels.SingletonChannelAcceptor`3[ChannelInterfaceType,TChannel,QueueItemType].Enqueue()in :line 0    at System.ServiceModel.Channels.HttpChannelListener.HttpContextReceived()in :line 0    at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived()in :line 0    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()in :line 0    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest()in :line 0    at System.ServiceModel.Channels.IOThreadScheduler+CriticalHelper+WorkItem.Invoke2()in :line 0    at System.ServiceModel.Channels.IOThreadScheduler+CriticalHelper+WorkItem.Invoke()in :line 0    at System.ServiceModel.Channels.IOThreadScheduler+CriticalHelper.ProcessCallbacks()in :line 0    at System.ServiceModel.Channels.IOThreadScheduler+CriticalHelper.CompletionCallback()in :line 0    at System.ServiceModel.Channels.IOThreadScheduler+CriticalHelper+ScheduledOverlapped.IOCallback()in :line 0    at System.ServiceModel.Diagnostics.Utility+IOCompletionThunk.UnhandledExceptionFrame()in :line 0    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback()in :line 0

Microsoft.SharePoint.Search.Extended.Administration.Common.AdminException: Could not  retrieve crawled property ‚263‘.    bei Microsoft.SharePoint.Search.Extended.Administration.Schema.DB.SchemaDAOImpl.GetCrawledProperty(Guid propset, String Name, Int32 variantType)    bei Microsoft.SharePoint.Search.Extended.Administration.WCF.SchemaServiceImpl.<>c__DisplayClass7d.<GetCrawledProperty>b__7c()    bei Microsoft.SharePoint.Search.Extended.Administration.TransactionalInterceptor.AttemptTransaction[T](Func`1 target, TransactionOptions options)    bei Microsoft.SharePoint.Search.Extended.Administration.TransactionalInterceptor.DoInTransaction[T](Func`1 target, TransactionOptions options, String errorCode, String[] values) — caught here —    at Microsoft.SharePoint.Search.Extended.Administration.TransactionalInterceptor.DoInTransaction()in :line 0    at Microsoft.SharePoint.Search.Extended.Administration.TransactionalInterceptor.DoInTransaction()in :line 0    at Microsoft.SharePoint.Search.Extended.Administration.TransactionalInterceptor.Execute()in :line 0    at Microsoft.SharePoint.Search.Extended.Administration.WCF.SchemaServiceImpl.GetCrawledProperty()in :line 0    at .SyncInvokeGetCrawledProperty()in :line 0    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke()in :line 0    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin()in :line 0    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5()in :line 0    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4()in :line 0    at System.ServiceModel.Dispatcher.MessageRpc.Process()in :line 0    at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump()in :line 0    at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest()in :line 0    at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump()in :line 0    at System.ServiceModel.Diagnostics.Utility+AsyncThunk.UnhandledExceptionFrame()in :line 0    at System.ServiceModel.AsyncResult.Complete()in :line 0    at System.ServiceModel.Channels.InputQueue`1+AsyncQueueReader[T].Set()in :line 0    at System.ServiceModel.Channels.InputQueue`1[T].EnqueueAndDispatch()in :line 0    at System.ServiceModel.Channels.InputQueue`1[T].EnqueueAndDispatch()in :line 0    at System.ServiceModel.Channels.InputQueueChannel`1[TDisposable].EnqueueAndDispatch()in :line 0    at System.ServiceModel.Channels.SingletonChannelAcceptor`3[ChannelInterfaceType,TChannel,QueueItemType].Enqueue()in :line 0    at System.ServiceModel.Channels.SingletonChannelAcceptor`3[ChannelInterfaceType,TChannel,QueueItemType].Enqueue()in :line 0    at System.ServiceModel.Channels.HttpChannelListener.HttpContextReceived()in :line 0    at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived()in :line 0    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()in :line 0    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest()in :line 0    at System.ServiceModel.Channels.IOThreadScheduler+CriticalHelper+WorkItem.Invoke2()in :line 0    at System.ServiceModel.Channels.IOThreadScheduler+CriticalHelper+WorkItem.Invoke()in :line 0    at System.ServiceModel.Channels.IOThreadScheduler+CriticalHelper.ProcessCallbacks()in :line 0    at System.ServiceModel.Channels.IOThreadScheduler+CriticalHelper.CompletionCallback()in :line 0    at System.ServiceModel.Channels.IOThreadScheduler+CriticalHelper+ScheduledOverlapped.IOCallback()in :line 0    at System.ServiceModel.Diagnostics.Utility+IOCompletionThunk.UnhandledExceptionFrame()in :line 0    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback()in :line 0

Auch diese Fehlermeldungen waren wenig aufschlussreich und Ich entschloss per PowerShell eine benutzerdefinierte Eigenschaften anzulegen, um zu überprüfen welche Fehlermeldung dort entsteht.

# Create New Managed Property

$nmp = New-FASTSearchMetadataManagedProperty –Name “[Ihr Property]” –type 1

Set-FASTSearchMetadataManagedProperty –Name “[Ihr Property]” –Queryable $true –StemmingEnabled

$false –RefinementEnabled  $false

$cp = Get-FASTSearchMetadataCrawledProperty –name ‚[Ihr CrawledProperty]‘

New-FASTSearchMetadataCrawledPropertyMapping –Managedproperty $nmp –crawledproperty $cp

Kurz nach dem Ausführen brach das Skript ab und warf eine Fehlermeldung: „Prozedureinsprungpunkt *** wurde in der Datei libxml2.dll nicht gefunden“.

Wir überprüften daraufhin die DLL-Datei, im FASTSearch\bin Ordner, dort schien jedoch alles korrekt zu sein. Schlussendlich landete ich quasi durch Zufall auf dem Blog http://spcycle.blogspot.de/ von Adam Burden und fand die Lösung.

„What it came down to was the path statement on my FAST server.  You need to make sure that the \FASTSearch\bin directory is the first entry on your path statement.“

Der Kunden hatte eine Backuplösung im Einsatz die die gleiche DLL-Datei nutzte und sprang daher immer in ein falsches Verzeichnis zur DLL-Datei, in unserem Fall dem Programmverzeichnis des Backup-Tools. Nachdem wir wie empfohlen die Umgebungsvariable PATH angepasst und einen Neustart durchführten, lief dann alles korrekt!

Achten Sie also stets darauf das auf einem FASTSearchServer stets die \FASTSearch\bin an erster Stelle in der Umgebungsvariable PATH stehen sollte!

1 Comments

  1. Pingback: Fehler beim Anlegen einer benutzerdefinierte Eigenschaft bei FAST - SharePoint Blogs in German - Bamboo Nation

Leave a comment

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Time limit is exhausted. Please reload the CAPTCHA.