I am using ASP.NET MVC 3
. I am also using Autofac
and MVC Extensions
. The error that I initally got was:
The controller for path '/favicon.ico' was not found or does not implement IController.
I read a couple of posts and they all recommended that I put in the following:
Routes.IgnoreRoute("{*favicon}", new { favicon = @"(.*/)?favicon.ico(/.*)?" });
Then I started to get the following error:
File does not exist.
ExceptionType:HttpException Stacktrace:
at System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response)
at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context, String overrideVirtualPath)
at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
The error isn't telling me much as I don't know what what file it is trying to open up? How would I resolve this issue? I'm not using a favicon, I don't want one. I am using Internet Explorer 8
.