Server Error in '/' Application.

Cannot access ASP compatibility mode.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Cannot access ASP compatibility mode.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): Cannot access ASP compatibility mode.]

[HttpException (0x80004005): Exception of type System.Web.HttpException was thrown.]
   System.Web.HttpAsyncResult.End() +54
   System.Web.Util.AspCompatApplicationStep.RaiseAspCompatEvent(HttpContext context, HttpApplication app, String sessionId, EventHandler eventHandler, Object source, EventArgs eventArgs) +192
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +98
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +514
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +697
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +66
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +173


Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407