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

后端 未结 3 1744
没有蜡笔的小新
没有蜡笔的小新 2021-01-24 22:22

I\'m a java developer that has been tasked with some Classic ASP work. I\'m trying to setup IIS 7.5 in Windows 7 64 bit and was able to get the server configured to get the loc

3条回答
  •  面向向阳花
    2021-01-24 23:06

    Step 1. Create root folder for your site and move all your files, folders into it.

    Step 2. Create application pool and make sure that you assigned it to run as no managed code. Pipeline as classic. Make sure that your site have this app pool assigned to it.

    enter image description here

    Step 3. Enable ASP in your IIS Management panel. By default in IIS 7+ it is disabled.

    Step 4. Verify that your ISAPI restrictions points to proper dlls to run ASP not asp.net.

    Step 5. Define default documents

    Step 6. Run your site

    enter image description here

    In regards of debugging classic asp - you can dream about it. Only way to debug those suckers is to use response.write before and after each line of code where you suspect failure occurs. Visual studio does not provide any tools to debug classic asp sites. To work with your classic ASP site in VS2010 you will need to open it as a web site not a project. Just use open web site and point to the folder where your site lives.

提交回复
热议问题