Changing servers and inetpub name folder. Errors in Windows Event Viewer

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
4/14/2014 12:44:22 PM
Gravatar
Total Posts 15
Growing old is inevitable, growing up is optional :)

Changing servers and inetpub name folder. Errors in Windows Event Viewer

Hi Joe

Mojoportal 2.3.6.2 MSSQL 
currently hosted on Windows Web Server 2008 R2 in c:\inetpub-hosted\portalname folder

On previous server it was in c:\inetpub\ 
but it is not anymore and it looks like path is cached somewhere. Is there any cached files in mojoportal that can point to old server physical path? Any idea in what direction we should look?

Event viewer says:

An unhandled exception occurred and the process was terminated.

Application ID: /LM/W3SVC/14/ROOT

Process ID: 5964

Exception: System.UnauthorizedAccessException

Message: Access to the path 'C:\Inetpub\portalname\Data\Sites\1\index\' is denied.

StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
   at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTaskOnNewThread(Object oTask)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Thanx

4/14/2014 12:52:03 PM
Gravatar
Total Posts 18444

Re: Changing servers and inetpub name folder. Errors in Windows Event Viewer

it means that there were unprocessed rows in the mp_IndexingQueue and/or mp_TaskQueue tables before the move and those rows still have the old path.

TRUNCATE TABLE mp_IndexingQueue

TRUNCATE TABLE mp_TaskQueue

to remove the older rows.

Then if your site search does not seem up to date consider rebuilding the index again.

4/15/2014 3:07:00 AM
Gravatar
Total Posts 15
Growing old is inevitable, growing up is optional :)

Re: Changing servers and inetpub name folder. Errors in Windows Event Viewer

Indeed those tables had rows with old path. We truncated them deleted index folder content and rebuilded search. Should be ok now. Event Viewer is quiet for an hour.

Thank you very much. 
 

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