IIS 5.0 Server side includes


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: IIS 5.0 Server side includes

  1. #1
    Ganendran Guest

    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

  2. #2
    Matt Hodge Guest

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




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center