Friday, December 5, 2014

[Resolved] Asp.net MVC Error : The controller for path ‘/favicon.ico’ was not found or does not implement IController

hi just came across this below error while debugging a asp.net mvc application.
 The controller for path ‘/favicon.ico’ was not found or does not implement IController
1
. 1. To resolve this go to RouteConfig.cs and write
 routes.IgnoreRoute(“{*favicon}”, new { favicon = @”(.*/)?favicon.ico(/.*)?” });
2
2. Now run the application and check.

3 comments: