我正在运行 Sitecore 6.6.0-Update 4,MVC。当我尝试加载内容编辑器时,除了 /WebResource.axd 和 /ScriptResource.axd 文件之外,所有资源都正常加载。这会在尝试加载富文本编辑器时导致错误,并且可能还会在其他地方导致错误。
我已经验证了 routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 存在于 Global.asax 中。我还有其他地方可以解决此问题吗?
这是从 Fiddler 检索到的错误消息之一的副本:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Specified method is not supported.
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.NotSupportedException: Specified method is not supported.
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:
[NotSupportedException: Specified method is not supported.]
System.Web.Routing.StopRoutingHandler.GetHttpHandler(RequestContext requestContext) +36
Sitecore.Mvc.Routing.RouteHandlerWrapper.GetHttpHandler(RequestContext requestContext) +33
System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +11507752
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web .HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272