"Jason Hartsoe" <Ja**********@discussions.microsoft.comwrote in message
news:41**********************************@microsof t.com...
I'm running IIS7(2008 Server) and SQL both 64 bit. There's a simple
client
side code...that just doesn't make any sense. Is there something in IIS7
that could possibly have some effect on including the file. The problem
is:
>
<script src="myfiletoinclude.inc"></script>
it works fine on my 2000 and 2003 box....running IE8 emulating IE7. No
problems....but on the 08 box...it won't pull in the page. Is there a
setting or a place I can go to fix this? I'm clueless....
Change the .inc file extension to .js or .vbs which ever matches the
content.
A possible cause of the problem is the server not having a .inc in its
mimemap, without a catch all .* being present (which is not recommended) the
file won't be served.
Another possible cause is IE being more restrictive, it may not like
treating a .inc file that doesn't have a text/javascript or text/vbscript
content type as a script. Thats a guess I haven't played with IE8 yet.
--
Anthony Jones - MVP ASP/ASP.NET