Getting IIS 7.5 to work with classic ASP

我的未来我决定 提交于 2019-12-12 01:33:06

问题


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.

来源:https://stackoverflow.com/questions/23815370/getting-iis-7-5-to-work-with-classic-asp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!