Sunday, January 2, 2011

ASP.net not working in Win XP Pro

Is the .asp extension still mapped in IIS?

1. Run IIS (%SystemRoot%\System32\inetsrv\iis.msc)
2. Choose the site that ASP pages are not working on (or the Default Web Site)
3. Do Right-Click Properties
4. Click the Home Directory tab
5. Click Configuration
6. Click the Mappings tab
7. Find .asp in the list
8. Click Edit
9. Set the Executable (usually C:\WINDOWS\System32\inetsrv\asp.dll)
10. Set the Verbs to Limit to
11. Set the Limit to box to GET,HEAD,POST,TRACE
12. Check the Script engine box
13. Click Ok

Is the web site set-up to execute scripts


1. Run IIS (%SystemRoot%\System32\inetsrv\iis.msc)
2. Choose the site that ASP pages are not working on (or the Default Web Site)
3. Do Right-Click Properties
4. Click the Home Directory tab
5. Set Execute Permissions to Scripts only

Still not working? Does the site need it's own application space?

1. Run IIS (%SystemRoot%\System32\inetsrv\iis.msc)
2. Choose the site that ASP pages are not working on (or the Default Web Site)
3. Do Right-Click Properties
4. Click the Home Directory tab
5. If the Application name box is disabled click Create