ASP.NET MVC 2 RTM - favicon not displayed in Internet Explorer

Posted by hungster on Stack Overflow See other posts from Stack Overflow or by hungster
Published on 2010-03-27T00:26:50Z Indexed on 2010/03/27 0:33 UTC
Read the original article Hit count: 521

Filed under:
|
|

I have the following two lines in the head section in my masterpage:

<link rel="shortcut icon" href="/Content/Images/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/Content/Images/favicon.ico" type="image/ico" />

However, the favicon is not displayed in Internet Explorer (version 6, 7, 8). In Firefox and Safari the favicon works fine. I have even tried to replace href with the URL to my website (http://www......./Content/Images/favicon.ico) but that still does not work in Internet Explorer. Am I missing something?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc-2