Unfortunately I seem to be having further problems with my 'stock' copy of mojoportal running on the Pipeten medium trust shared servers. The following is a message from Pipeten's support team:
[07-Dec-2012 08:41:13]
A: Hi Craig,
I'm afraid we have had to stop your site #######.co.uk as it is continuing to cause far to many problems on the shared server. It is causing IIS to crash far too frequently and is causing other customers sites to fail when it does so and engineers to be alerted to restart the web server.
I have included some of the errors just from the last hour which might highlight your issue, but if it can't be resolved you will have to look at moving it to a private server.
Regards,
Gavin
---
Gavin Kimpton
Pipe Ten Support Team
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/230/ROOT
Process ID: 14500
Exception: System.Security.SecurityException
Message: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
StackTrace: at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.IO.Directory.CreateDirectory(String path)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTask()
at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTaskOnNewThread(Object oTask)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/230/ROOT
Process ID: 6200
Exception: System.Security.SecurityException
Message: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
StackTrace: at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.IO.Directory.CreateDirectory(String path)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTask()
at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTaskOnNewThread(Object oTask)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/230/ROOT
Process ID: 8572
Exception: System.Security.SecurityException
Message: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
StackTrace: at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.IO.Directory.CreateDirectory(String path)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTask()
at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTaskOnNewThread(Object oTask)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/230/ROOT
Process ID: 3820
Exception: System.Security.SecurityException
Message: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
StackTrace: at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.IO.Directory.CreateDirectory(String path)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTask()
at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTaskOnNewThread(Object oTask)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/230/ROOT
Process ID: 11652
Exception: System.Security.SecurityException
Message: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
StackTrace: at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.IO.Directory.CreateDirectory(String path)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTask()
at mojoPortal.Business.WebHelpers.IndexWriterTask.RunTaskOnNewThread(Object oTask)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Do you have any idea what might be causing this? As a reminder, the following is a summary that I sent to Pipeten to do with some of the incompatibilities of running mojoportal on their server that I have managed to overcome:
I really like mojoPortal, but I can't continue with my domains being shut down & threats of having to move it to a private server... Despite having promoted mojoPortal in an online tutorial I've had no feedback from Pipeten when I asked them to try their own installation on a similar server setup. Apart from the few changes that you helped me with (as detailed above) mine is a completely stock copy of mojoPortal. My domain has been taken off-line, but I have accessed my log via ftp. The last few entries are as follows:
2012-12-07 06:49:30,582 INFO mojoPortal.Web.Global - Application Started.
2012-12-07 06:49:31,284 INFO mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task
2012-12-07 06:49:31,284 INFO mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread
2012-12-07 06:49:31,721 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - deserialized IndexWriterTask task
2012-12-07 06:49:31,736 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - Queued IndexWriterTask on a new thread
2012-12-07 07:02:27,763 INFO mojoPortal.Web.Global - Application Started.
2012-12-07 07:02:28,887 INFO mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task
2012-12-07 07:02:29,152 INFO mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread
2012-12-07 07:02:29,401 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - deserialized IndexWriterTask task
2012-12-07 07:02:29,401 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - Queued IndexWriterTask on a new thread
2012-12-07 07:15:30,810 INFO mojoPortal.Web.Global - Application Started.
2012-12-07 07:15:32,854 INFO mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task
2012-12-07 07:15:32,854 INFO mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread
2012-12-07 07:15:33,494 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - deserialized IndexWriterTask task
2012-12-07 07:15:33,509 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - Queued IndexWriterTask on a new thread
2012-12-07 07:19:38,259 INFO mojoPortal.Web.Global - Application Started.
2012-12-07 07:19:41,410 INFO mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task
2012-12-07 07:19:41,410 INFO mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread
2012-12-07 07:19:42,502 ERROR mojoPortal.Web.PageNotFoundHttpModule - Referrer(none) PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/Download.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2012-12-07 07:26:28,043 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - deserialized IndexWriterTask task
2012-12-07 07:26:28,043 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - Queued IndexWriterTask on a new thread
2012-12-07 07:41:54,174 INFO mojoPortal.Web.Global - Application Started.
2012-12-07 07:41:55,328 INFO mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task
2012-12-07 07:41:55,344 INFO mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread
2012-12-07 07:41:55,812 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - deserialized IndexWriterTask task
2012-12-07 07:41:55,827 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - Queued IndexWriterTask on a new thread
2012-12-07 07:54:54,366 INFO mojoPortal.Web.Global - Application Started.
2012-12-07 07:54:55,052 INFO mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task
2012-12-07 07:54:55,083 INFO mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread
2012-12-07 07:54:55,333 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - deserialized IndexWriterTask task
2012-12-07 07:54:55,333 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - Queued IndexWriterTask on a new thread
2012-12-07 07:59:19,848 INFO mojoPortal.Web.Global - Application Started.
2012-12-07 07:59:20,441 INFO mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task
2012-12-07 07:59:20,457 INFO mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread
2012-12-07 07:59:21,065 ERROR mojoPortal.Web.PageNotFoundHttpModule - Referrer(none) PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/Details.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2012-12-07 08:05:51,707 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - deserialized IndexWriterTask task
2012-12-07 08:05:51,707 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - Queued IndexWriterTask on a new thread
The only errors seem to be caused by requests for pages that don't exist (possibly a 'bot' trying to reach old pages that existed prior to mojoPortal installation?).
Any help would be much appreciated.