Search Index Error

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/9/2009 2:42:20 AM
Gravatar
Total Posts 1

Search Index Error

Hi

My site is working fine, But when i view the System log I notice a error...

ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Am'sSection\MOJOWorkshop\BetterBorrowerBackUP\WorkingVersion\20ThApril\mojotest\Web\Data\Sites\1\index\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at System.IO.Directory.CreateDirectory(String path)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
 

I surprised why this local path is stored.

Please help me.

5/9/2009 4:46:18 AM
Gravatar
Total Posts 18439

Re: Search Index Error

When its first tries to write to the search index the index does not yet exist and this error is thrown, handled, and logged, then the index is created. As long as you are not seeing this repeated over and over in the log its not a problem.

When content is created or edited, the indexing of that content is as follows, records are queued into the mp_IndexingQueue table with all the needed info to write to the index including the file system path to the index. Then a task is fired off on a background thread so as not to block the ui and this backround thread processes the rows in the indexing queue by writing to the actual index then deleting the row from the indexing queue after it is processed.

Hope it helps,

Joe

6/3/2011 2:34:37 PM
Gravatar
Total Posts 49
TRIAD/Next Level Interactive

Re: Search Index Error

Hey Joe,

What if you are seeing this error repeatedly (every 10 mins)?

Thanks

 

 

StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)

   at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)

   at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()

   at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTaskOnNewThread(Object oTask)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

 

6/5/2011 1:04:26 PM
Gravatar
Total Posts 18439

Re: Search Index Error

I would make sure the folder exists /Data/Sites/[SiteID]/index and that it is writable by the web process (ie the identity on the application pool). Where [SiteID] is replaced with the actual site id.

Then I would try rebuilding the search index.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.