2
我试图在现有的sitecore WebForms应用程序中设置Mvc4路由。Mvc 4在sitecore WebForms应用程序中的路由System.Web.AsyncStepCompletionInfo.RegisterBeginUnwound NullReferenceException
我已经添加了以下内容:
routes.MapPageRoute("WebForm", "WebForm", "~/WebForm1.aspx");
导航到/WebForm
给出了以下异常:
[NullReferenceException: Object reference not set to an instance of an object.]
System.Web.AsyncStepCompletionInfo.RegisterBeginUnwound(IAsyncResult asyncResult, Boolean& operationCompleted, Boolean& mustCallEndHandler) +32
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +516
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +287