Enable logging for a classic asp site
You should install the HTTP Errors feature in IIS. This is enough to view the error message -- you won't need logging.
To install HTTP Errors:
- Go to the Programs and Features control panel.
- Select "Turn Windows features on or off"
- Drill down to Internet Information Services > Word Wide Web Services > Common HTTP Features and select "HTTP Errors" (While you're at it, you can install the logging feature by drilling down to Internet Information Services > Word Wide Web Services > Health and Diagnostics and selecting "HTTP Logging".)
- Click OK to install.
Once installed, configure IIS to show detailed error messages:
- In the IIS settings for your site you should now see an Error Pages option. Double-click it.
- Click Edit Feature Settings.
- Select either "Detailed errors" or "Detailed errors for local requests..." depending on whether you are doing local development or not.
- In the IIS settings for your site, double-click the ASP option.
- Expand Debugging Properties and set "Send Errors To Browser" to true.
You should now see detailed error messages.
IIS logs won't help you because they do not include the detailed error messages.