Things You'll Need:
- Internet Information Services 6
-
Step 1
Open IIS 6
-
Step 2
In left panel, click on the Websites Folder.
-
Step 3
In the right panel, locate the website that you wish to configure. Right-click on the website and choose Properties.
-
Step 4
The Properties box will popup. Choose the Home Directory tab.
-
Step 5
Click on the Configuration button.
-
Step 6
The Configuration box will popup. Choose the Debugging tab.
-
Step 7
Ensure the Debugging flags are not checked.
-
Step 8
Locate the section called Error Messages for Script Errors.
-
Step 9
Do not select the option to Send Detailed ASP Messages to the Client. Instead, choose the radio button labeled Send the Following Text Message to the Client
-
Step 10
Click the OK button twice to save the changes.
-
Step 11
See the examples below of ASP and SQL error messages.
-
Step 12
Example Error 1:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Unclosed quotation mark before the character string ' AND a.aID=s.aID'.
/homebase/bookreports/index.asp, line 20 -
Step 13
Example Error 2:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'bookTitle'.
/homebase/bookreports/index.asp, line 33







