Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 731
thd Avatar asked Jan 01 '26 04:01

thd


1 Answers

Try this post http://weblogs.asp.net/nmarun/archive/2010/03/14/asp-net-mvc-2-throws-exception-for-favicon-ico.aspx

like image 149
Raj Kaimal Avatar answered Jan 03 '26 03:01

Raj Kaimal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!