Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

IIS 5.0 Server side includes

I was running an ASP application on IIS 4.0 When I ported to Windows 2000
and IIS 5.0 the application is refusing to start. I get the following error
mesg:

Technical Information (for support personnel)
Error Type:
Active Server Pages, ASP 0234 (0x80004005)
Server side include directives may not be present in script blocks. Please
use the SRC= attribute of the <SCRIPT> tag.
/ESP+web/global.asa, line 20
Browser Type:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
Page:
GET /esp+web/login.asp

Is it compulsary for me to change all the include files into script tags
?
Do you have any idea, what's going on ?

Thanks
Gane
[716 byte] By [Ganendran] at [2007-11-9 15:36:08]
# 1 Re: IIS 5.0 Server side includes
We had a similiar problem with some of our pages. The problem was that we
had include files inside of script tags. For example:

<%

<!--#include file="something.inc"-->

'code goes here

%>

Instead of the proper:

<!--#include file="something.inc"-->

<%

'code goes here

%>

I don't remember the exact error message so I am not sure if this is the
same problem. Good luck though.

Matt Hodge

"Ganendran" <gkumaraswamy@hotmail.com> wrote in message
news:396358b2$1@news.dev-archive.com...
>
> I was running an ASP application on IIS 4.0 When I ported to Windows 2000
> and IIS 5.0 the application is refusing to start. I get the following
error
> mesg:
>
> Technical Information (for support personnel)
> Error Type:
> Active Server Pages, ASP 0234 (0x80004005)
> Server side include directives may not be present in script blocks. Please
> use the SRC= attribute of the <SCRIPT> tag.
> /ESP+web/global.asa, line 20
> Browser Type:
> Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
> Page:
> GET /esp+web/login.asp
>
> Is it compulsary for me to change all the include files into script tags
> ?
> Do you have any idea, what's going on ?
>
> Thanks
> Gane
Matt Hodge at 2007-11-11 23:41:07 >