Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable ASP classic in IIS7.5

I am running IIS 7.5 in Windows 7 and have already gone into "Turn Windows features on or off" and enabled ASP in "Internet Information Services/World Wide Web Service/application Development Features". Once I did that I started getting an HTTP 404 error saying:

The page you are requesting cannot be served because of the extension
configuration. If the page is a script, add a handler. If the file should be
downloaded, add a MIME map.

So I took this to mean that I needed to add a mapping to *.asp in the Handler mappings and the handler is mapped to C:\Windows\System32\inetsrv\asp.dll. But when I try to load the page I get a server error saying:

Could not load type 'C:\Windows\system32\inetsrv\asp.dll'.

Does anyone know what is going on here or how to handle this?

One other thing I should mention is that I have already enabled 32-Bit application in my Application pool and set ASP to send errors to browser, but neither of those things has resolved the issue or given me more information.

Please note this is ASP Classic not ASP.NET, ASP.NET is working just fine for me.

like image 486
Brandon Avatar asked Jan 30 '12 22:01

Brandon


People also ask

How do I run classic ASP in IIS?

In Control Panel, click Programs and Features, and then click Turn Windows features on or off. Expand Internet Information Services, expand World Wide Web Services, expand Application Development Features, and then select ASP. The ISAPI Extensions feature will be selected if it has not already been installed. Click OK.

How do I enable Classic ASP in IIS 10?

Normally, the iis version in windows 10 is iis10, you can follow below steps to enable classic asp in iis. Search for Turn Windows Features on or off in the win10 search bar. Expand Internet Information Services, then World Wide Web Services, then Application Development Features. Select ASP, and then click OK.


1 Answers

  • Go to control panel
  • click program features
  • turn windows on and off
  • go to internet services
  • under world wide web services check the asp.net and others

Click ok and your web sites will load properly.

like image 142
ayenco Avatar answered Sep 29 '22 15:09

ayenco