classic asp on IIS7 .net

classic asp on IIS7 .net

am 11.04.2008 01:21:00 von jasonhartsoe

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:



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....

Thanks!

Re: classic asp on IIS7 .net

am 11.04.2008 03:48:58 von Ken Schaefer

Hi,

a) Your code is client side code. So, it has nothing to do with ASP. ASP
only runs on the server

b) Make sure that you have a MIME type defined for .inc files (IIS6/7 does
not serve files that do not have MIME types defined). Check the IIS log
files to make sure that the file is being served

c) Try requesting the file directly in the browser. That may give you some
idea why it's not working.

Cheers
Ken

"Jason Hartsoe" wrote in message
news:7DDE1CF3-ADF5-4EF2-973F-814D8731868C@microsoft.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:
>
>
>
> 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....
>
> Thanks!

Re: classic asp on IIS7 .net

am 11.04.2008 14:15:01 von jasonhartsoe

Ken, thanks so much for the reply, you nailed it exactly...It required me
putting a MIME type for that extension. Without it, it serves a 404 response.

Works great now!

Thanks again!

Jason

"Ken Schaefer" wrote:

> Hi,
>
> a) Your code is client side code. So, it has nothing to do with ASP. ASP
> only runs on the server
>
> b) Make sure that you have a MIME type defined for .inc files (IIS6/7 does
> not serve files that do not have MIME types defined). Check the IIS log
> files to make sure that the file is being served
>
> c) Try requesting the file directly in the browser. That may give you some
> idea why it's not working.
>
> Cheers
> Ken
>
> "Jason Hartsoe" wrote in message
> news:7DDE1CF3-ADF5-4EF2-973F-814D8731868C@microsoft.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:
> >
> >
> >
> > 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....
> >
> > Thanks!
>
>