I am getting the following error.2008-11-20 13:15:13,222 [7504] ERROR [] - Exception while running job ES.SearchJob of type CommunityServer.Enterprise.Search.SearchJobException: System.Reflection.TargetInvocationExceptionMessage: Exception has been thrown by the target of an invocation.Source: mscorlib at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at Telligent.Tasks.Task.?() at Telligent.Tasks.Task.?()
Nested Exception
Exception: System.TypeInitializationExceptionMessage: The type initializer for 'CommunityServer.Components.CSCache' threw an exception.Source: CommunityServer.Components at CommunityServer.Components.CSCache.Get(String key) at ?.?() at CommunityServer.Enterprise.Search.IndexInitializer.Load() at CommunityServer.Enterprise.Search.SearchJob..ctor()
Exception: System.MissingFieldExceptionMessage: Field not found: 'Telligent.Components.TCache.DayFactor'.Source: CommunityServer.Components at CommunityServer.Components.CSCache..cctor()
The problem is in CS2008.5 there has been some significant refactoring of hte codebase, meaning that ES pre CS2008.5 is incompatible with ES for CS2008.5 and later (and vice versa). So by using hte same instance of ES for both CS 2008 SP1 and Harvest (which uses the CS2008.5 binaries) you'll face some problems. You will need to install two instances of the tasks service - one for the CS2008 SP1 version to use with ES, and another wiht the latest version of the tasks server for Harvest 2.0. Instructions on installing two instances of the Tasks Service can be found at http://docs.communityserver.com/general-topics/installing-multiple-instances-of-windows-service/ .
Community Server Documentation
Nintendo Wiikly
Did you upgrade enterprise search to the latest version before installing harvest?
You can run the same Enterprise Search with both 2008 and 2008.5? I am still on 2008
I am also getting errors running the actual Harvest tasks
Task: BlogCommentData @ 2008-11-20 02:40:14.949965 : Task Started.2008-11-20 02:40:14.949965 - BlogCommentData - TaskBase.Execute() - Begin 2008-11-20 02:14.949965 - BlogCommentData - ReadConfig(node) - Begin 2008-11-20 02:14.949965 - BlogCommentData - ReadConfig(node) - End --- --- TRANSFER FROM(DB): CommunityServer - TO(DB): CommunityServerReporting --- --- 2008-11-20 02:14.949965 - BlogCommentData - CalculateVariables(_destDP) - Begin Telligent.Tasks.Service.exe Error: 0 : Exception: Invalid object name 'csr_BlogCommentData_A'. Task: BlogCommentData @ 2008-11-20 02:40:14.949965 : Exited on error.2008-11-20 02:40:14.949965 - BlogCommentData - TaskBase.Execute() - End
Task: BlogCategoryData @ 2008-11-20 02:40:14.949965 : Task Started.2008-11-20 02:40:14.949965 - BlogCategoryData - TaskBase.Execute() - Begin 2008-11-20 02:14.949965 - BlogCategoryData - ReadConfig(node) - Begin 2008-11-20 02:14.949965 - BlogCategoryData - ReadConfig(node) - End --- --- TRANSFER FROM(DB): CommunityServer - TO(DB): CommunityServerReporting --- --- 2008-11-20 02:14.949965 - BlogCategoryData - CalculateVariables(_destDP) - Begin Telligent.Tasks.Service.exe Error: 0 : Exception: Invalid object name 'csr_BlogCategoryData_A'. Task: BlogCategoryData @ 2008-11-20 02:40:14.949965 : Exited on error.2008-11-20 02:40:14.949965 - BlogCategoryData - TaskBase.Execute() - End
I am also getting Invalid Object Name errors while running the Harvest Jobs
Task: EventData @ 2008-11-20 02:40:14.996841 : Task Started.2008-11-20 02:40:14.996841 - EventData - TaskBase.Execute() - Begin 2008-11-20 02:14.996841 - EventData - ReadConfig(node) - Begin 2008-11-20 02:14.996841 - EventData - ReadConfig(node) - End --- --- TRANSFER FROM(DB): CommunityServer - TO(DB): CommunityServerReporting --- --- 2008-11-20 02:15.012467 - EventData - CalculateVariables(_destDP) - Begin Telligent.Tasks.Service.exe Error: 0 : Exception: Invalid object name 'csr_EventData_A'. Task: EventData @ 2008-11-20 02:40:15.012467 : Exited on error.2008-11-20 02:40:15.012467 - EventData - TaskBase.Execute() - End
I fixed the Harvest Error by setting the default schema for the user. However, even after upgrading Enterprise Search, I still get the error and the Search Job does not run
Hi,
I'm getting the same 'Invalid object name' errors. How did you solve them? Did you solve it by setting the default schema for the user? If so where do you set this?
Thanks
within SQL Server. Go to Security --> Logins. DoubleClick the user, Go to User Mapping and the set schema for the harvest database. In my instance, the user owned other schemas as well because I used an existing user.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com