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
I used the information from this link: How to setup IIS 7 for Classic ASP. Even though I was using IIS 7.5, I followed the same instructions, except that I added in a virtual directory.
Then I commented out the offending lines in the global.asa file. Basically it was pointing to the registry to get server information, hence my error as I was trying to run things locally on my machine.
After that I was able to hit the default.asp at the root and bring it up.
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.
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
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.
IIS 7.5 on 64bit has dissabled ASP Classic because is 32bit native code. You need activate the 32bit option on IIS check this tutorial from microsoft: http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis