Reputation: 1666
I have two conditional comments which are used to accommondate older IE-browsers. They work perfectly when used on local development server but fail to work when published to a real server. The files are on the server and the paths are correct. I did a test and the IE-version is recognized. So what could cause the issue?
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="/Scripts/jqplot-plugins/excanvas.js"></script><![endif]-->
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="/Scripts/html5.js"></script><![endif]-->
Edit
Right, had a coffee break and blew off some steam. Looked at the source again and noticed the path was wrong when on the real server. One of these afternoon human quirks again.
Edit
Upvotes: 1
Views: 406
Reputation: 146
You have CAPITAL letter "S" in word /Scripts/ so localy it works but not on server. I guess UNIX matter.
So do not use CAPITAL LETTERS neither in your paths nor in your folder names:
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="/scripts/jqplot-plugins/excanvas.js"></script><![endif]-->
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="/scripts/html5.js"></script><![endif]-->
Upvotes: 1