Getting IIS 7.5 to work with classic ASP

2019-09-01 02:47发布

I have looked all over the internet. I have been referred to these pages:

How to enable ASP classic in IIS7.5

How do I setup IIS 7.5 for Classic ASP on windows 7?

http://digitallibraryworld.com/?p=6 (this one includes setting up for connecting to Access. I don't need to connect to Access right know)

I have made all of the suggested changes to IIS and the web server that were listed.

The one thing that I did that is not standard is that on the root folder of the web site I created a sub folder. I made that sub folder an Application in IIS and I have assigned the Classic ASP Application pool to that sub folder.

I did that so that I could make Handler Mappings changes without disturbing the rest of the web site. BTW the main web site has not been written yet. There are other two sub folders that contain web pages for other applications that are linked to by another web site on another server. Eventually that web site will be moved to this server because the existing site in on a Server 2003 box and we want to move it to this 2008 R2 virtual server.

I created a very simple classic asp page that just is support to print "Hello World" on the page. The problem is that it does NOT print "Hello World" on the page. The page is blank.

Here is my code:

<html>
    <head>
    <title></title>
    </head>
    <body>
    <%
        Response.Write("Hello World<br>")
    %>
    </body>
</html>

I later stripped everything out and just left this code:

<%= Response.Write("Hello World") %>

I would really like to know if there is just something I am missing. Without getting the vbscript code to work then I am dead in the water when it comes to moving the web site over to this new server. It is about 90% classic asp and there are no plans to upgrade it into .net at least right now anyway.

0条回答
登录 后发表回答