From Internet Services Manager, view your Website's properties. Select the Home Directory tab. First, verify that the Execute Permissions drop-list is set to either Scripts Only or Scripts And Executables. If this box is set incorrectly, change it to Scripts Only, click OK, and try to view an ASP page. It should work.
If it doesn't work, or if you had already selected Scripts Only, return to the Home Directory tab of the Properties dialog box and click the Configuration button. On the App Mappings tab, you'll see a list of file extensions and the application that IIS uses to process these files. If .ASP doesn't appear in the list, add it. The executable is ASP.DLL, which is by default stored at C:winntsystem32inetsrvasp.dll. The standard configuration limits the verbs to GET, HEAD, POST and TRACE. Be sure the Script Engine checkbox is selected.
Once you configure a new script mapping for .ASP files, they should
process successfully again.
This was first published in October 2001