We deleted several forums and blogs and tried to re-index the whole site. I deleted everything in the SearchIndex folder, set isindexed=0 in cs_posts, then re-started the search service. I am seeing the following errors in the event log. Also, there are hundreds of documents in C:\Windows\Temp with size=0
Make sure the
<CentralizedFileStorage> <fileStore name="CommunityServer.Components.PostAttachments" type="CommunityServer.Components.FileSystemFileStorageProvider, CommunityServer.Components" basePath="[local path]" downloadValidatorType="CommunityServer.Components.PostAttachmentFileAccessValidator, CommunityServer.Components" /> </CentralizedFileStorage>
of your communityserver.config or override in your tasks folder has the correct file path for your post attachments (or the correct provider). By default, we set this to a relative application path which only works under the web context.
Dan
Soon as I did that I got the error below and now my site is down. It won't come back up even when I change it back.
Either the site is offline or an unhandled error occurred. We apologize and have logged the error. Please try your request again or if you know who your site administrator is let them know too
Restored CS.config from backup and made the change that you suggested. Error still persists! I deleted the old indexes, set isindexed=0 and restarted the search job.
This happens for every attachment. 1000.267.22556.motionforsummaryjudgmentreply.doc is sample of file that is in C:\Windows\Temp with size of 0. Every 5 minutes another 100 files are added to that directory.
Ok, Fixed one problem and found another. You need to put a "\" at end of the local file path.
Now I am getting the following in the Event Log.
Error Indexing Attachment : System.ApplicationException: TextFilter error: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at CommunityServer.Enterprise.Search.IFilter.TextFilter.ᐂ.Init(IFILTER_INIT grfFlags, Int32 cAttributes, IntPtr aAttributes, ᐆ& pdwFlags) at CommunityServer.Enterprise.Search.IFilter.TextFilter.ᐁ() at CommunityServer.Enterprise.Search.IFilter.TextFilter.ᐁ() at CommunityServer.Enterprise.Search.SearchableDocument.CreateDocument(Section s, Post p, String[] tags)
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com