前段时间我将遗留应用程序升级为使用JQuery-1.6.2。 感谢Elmah我偶尔会收到上述例外的电子邮件,但用户不会注意到任何事情。 它应该是一个容易修复的bug,只需对1.4.4进行全局搜索并删除引用即可。 除非我进行搜索,否则没有任何代码行引用。 所以我不确定我需要做些什么来追查问题。异常信息不提供行号。 这就是电子邮件所说的内容;
System.Web.HttpException (0x80004005): The controller for path '/SHP/Scripts/jquery-1.4.4.min.js' was not found or does not implement IController. at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)