0

该应用程序似乎运行良好?但我一直在我的日志中看到这些异常:

2013-03-11 11:32:46,736 [30] DEBUG COPSGMIS.Logging.GMISLogging - Executing controller: Home, action: Index
2013-03-11 11:32:48,934 [30] ERROR COPSGMIS.MvcApplication - GMIS Exception
System.Web.HttpException (0x80004005): The controller for path '/GMIS/ie-css3.htc' 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)
4

3 回答 3

0

放置 ie-css3.htc到内容文件夹。

于 2013-03-11T17:27:12.420 回答
0

不知道为什么我忽略了它。在我的样式表中,我有以下内容:

behavior: url(ie-css3.htc);

它必须是:

behavior: url(../Content/ie-css3.htc);
于 2013-03-11T18:36:42.907 回答
0

尝试这个。添加这一行

routes.IgnoreRoute("GMIS/ie-css3.htc");

在您调用 MapRoute 的位置上方

于 2013-03-11T15:54:07.440 回答