Windows 7 / IIS 7 / Classic ASP not working
Solution 1
I ran into this same issue and it turned out to be a simple change to the application pool. If enable 32-bit applications
is set to FALSE
then I received a prompt to login to the machine. Setting this value to TRUE
fixed the issue.
Solution 2
A question: does a simple asp script run or did you try existing pages with includes?
<% Response.Write "Hello, world!" %>
Since you're getting a 500 server error now, could be a sign that something is wrong with your script. Maybe you forgot to enable the Windows Feature (WWW / Application Development Features) "Server-Side Includes"?
It could be a security issue of the application pool account as well. I found this article: loadUserProfile and IIS7 - understanding temporary directory failures. It could be a similar problem.
Related videos on Youtube
splattne
Updated on September 17, 2022Comments
-
splattne over 1 year
I have some old classic asp scripts. They used to work on my 2003/IIS 6 server. But on my Vista/IIS 7 and now Windows 7 Ultimate/IIS 7 server the asp pages don't work.
I did what they said here: Deploying a Classic ASP Server (IIS 7) (Microsoft TechNet).
I enabled those 3 features in IIS 7 but that just went from getting 404 to 500 error.
-
Joel Coel over 12 years"I wnt from getting a 404 to a 500 error" -- that means check your code. You've probably got a bug in the asp script.
-
-
user568829 over 14 yearsWell, I've been through both of those posts and still can't get it working. Alex Thissen's post looks like it covers exactly what I need, but I'm not sure it's written well. I have added an application pool called "asp" then converted a folder to an application like it said... but can't figure out how to make it a "site" and map to the right alias when it's an "application".
-
Chris over 14 yearsI don't have access to an IIS7 server at the moment, but on IIS6, a site will have an earth icon, and then you should have your folder icons underneath those. An icon of a cog is an application. ASP applications do not need to be an 'application' per say. Its just folder based since it does not need to be precomplied and run in the asp.net app pool. Go through your IIS manager and review what you have. You may just need to remove the folders and start over from the begining. Good luck!