Favicons missing in Production URL IE (7, 8 & 9)
-
miércoles, 04 de abril de 2012 14:13
Hi All,
Favicons are coming up in local environment but not coming up in Live environment for all versions of IE (7, 8 & 9).
Check the attached file.
by the way the code i'm using in master pages to bind favicon is here.
<link rel="icon" href="App_Themes/Generic/Images/favicon.ico" type="image/x-icon" />
Thank You,
Jaleel AhmedThank You, Jaleel Ahmed
Todas las respuestas
-
miércoles, 04 de abril de 2012 20:52
Hi,
is this your website? http://www.aims360.com/index.php
retest when you have completed the switch-over to the new domain (allow 24 hours for the dns changes to work through) and you have removed the redirects from the above root domain.
or use an absolute uri instead of a relative uri for the favicon location... this however may create other security issues with MSIE browsers.
I see that you have already been to http://www.domainsanalyser.net/www.aimstsi.com
Regards.
Rob^_^
-
jueves, 05 de abril de 2012 5:11
Unusual response header?
Date: Thu, 05 Apr 2012 05:09:58 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: PHP/5.2.8
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Content-Type: text/html; charset=utf-8
Expires: Mon, 1 Jan 2001 00:00:00 GMT
Last-Modified: Thu, 05 Apr 2012 05:09:58 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Connection: keep-aliveRob^_^
-
jueves, 05 de abril de 2012 9:42
Hi Rob,
website is http://easyshop.aimstsi.com/AIMSLab/home.aspx, Have already tried using absolute uri and also tried clearing caches and history on IE.
But still no progress.
Thank You, Jaleel Ahmed
-
jueves, 05 de abril de 2012 10:33
Hi,
I get access forbidden when trying to access your default landing page
this should be to your site root folder where I would expect to find your home.aspx
in home.aspx you have
<link rel="icon" href="favicon.ico" type="image/x-icon" />
which resolves to http://easyshop.aimstsi.com/AIMSlab/favicon.ico (404 no file found)
here is the favicon link from this forum (from another domain)
<link rel="shortcut icon" type="image/x-icon" href="http://i4.social.s-msft.com/Forums/GlobalResources/images/Technet/favicon.ico"/>
so it looks like
you need to have rel="shortcut icon"
and you need to place favicon.ico in the aimslab folder on your server. But...
You appear to have a strage directory structure on your server....
http://aimstsi.com redirects to http://www.aims360.com/index.php
normally one would have
WebRoot - Maps to http://www.domain.com and http:domain.com (c:\webroot\MyDomain)
/Default.aspx
>Sub folders eg. Adimin, lib, Controls
SubWebRoot - Maps to http://sub.domain.com (c:\webroot\MySubDomain)
/Default.aspx
>Sub folders eg... login, shop etc
WebRoot (http://aimstsi.com) and SubWebRoot (http://easyshop.aimstsi.com) should appear as separate 'webs' in your IIS console....
IE browsers will not like the site structure you have.... there are security settings controling cross site scripting and navigation across domains in different security zones
also you need to debug
http://easyshop.aimstsi.com/AIMSLab/home.aspx
with the Developers tool's Networking tab or fiddler... you have some 404 errors for resources....404 curveycorners.src.js
Rob^_^
-
jueves, 05 de abril de 2012 10:50
Thanks Rob. Appreciate your help here. I agree that we have a little strange structure here. That's how it is, we can't change it as its already in production.
Favicon path is this http://easyshop.aimstsi.com/AIMSlab/App_Themes/Generic/Images/favicon.ico
FYI, in above url easyshop is subdomain and AIMSlab is sub directory.
is there a way to get this working.
Thank You, Jaleel Ahmed
-
jueves, 05 de abril de 2012 21:31
<link rel="shortcut icon" type="image/x-icon" href="http://easyshop.aimstsi.com/AIMSlab/App_Themes/Generic/Images/favicon.ico"/>
Rob^_^
- Propuesto como respuesta doctoroftypeMVP jueves, 05 de abril de 2012 21:31
-
lunes, 09 de abril de 2012 11:31
Hi Rob,
It does not help even after adding "shortcut icon" :(
Thank You, Jaleel Ahmed
-
lunes, 09 de abril de 2012 20:15
to create a favicon image,
using your favorite editor (irfanview is mine) save the file as a type gif file... your editor should automatically add the .gif extension. The hex view of the file will show gif as the first 3 characters of the file.
then using windows explorer rename the file extension to .ico and then copy it to your development folders. Then when you publish your site the updated "ico" file will be updated on the server.
You may need to flush your cache for the changes to appear in the browser.
Rob^_^
-
martes, 10 de abril de 2012 7:43
Tried the steps as you mentioned above still no progress.
http://easyshop.aimstsi.com/AIMSlab/App_Themes/Generic/Images/favicon.ico
Thank You, Jaleel Ahmed
-
martes, 10 de abril de 2012 8:21
Hi,
Darn!
see http://msdn.microsoft.com/en-us/library/ms537656(v=VS.85).aspx#Troubleshooting_Shortcut_Icons
If you are seeing the incorrect or default shortcut icon for your Web page, try the following:
- Verify that the shortcut icon is the correct size and format. For more information, see Creating Icons in the Correct Size and Format. Note that shortcut icons in image formats other than .ico—for instance, .bmp, .gif, or .png—cannot be displayed in Internet Explorer.
- Clear the Internet Explorer cache and history information. If either has become corrupted, incorrect shortcut icons may appear.
- To clear the cache and history information in Internet Explorer 7, on the Tools menu, click Delete Browsing History. Click Delete files to clear the cache, and click Delete history to clear the history information. Also, since shortcut icons for favorites are stored in the shortcut (.url) file in Internet Explorer 7, try removing the favorite and adding it again.
- To clear the cache and history information in Internet Explorer 6, on the Tools menu, click Internet Options. Under Temporary Internet files, click Delete files, and under History, click Clear history.
- Verify that Internet Explorer can store the shortcut icon in the Temporary Internet Files folder. If you have set Internet Explorer to not keep a cache, then it will not be able to store the icon and will display the default Internet Explorer shortcut icon instead.
Rob^_^
-
martes, 17 de abril de 2012 15:02
Hi Rob,
I apologize for delay reply.
I have tried all the suggested steps, but still it is not resolved.
Thank You, Jaleel Ahmed
-
lunes, 23 de abril de 2012 14:49
Hi Rob,
I tried browsing the same URL as a new user and its interesting the issue is only happening on Internet Explorer.
I have also the same issue on http:// www.agavedenim.com where when we go to it in Internet Explorer it doesn't show. We even have favicon.ico in the main folder. -
lunes, 23 de abril de 2012 16:49FWIW both sites are working for me in IE10 (on W8 CP).

