Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Pages On 7.0 IIS 1

Status
Not open for further replies.

anon47

Programmer
Nov 28, 2006
80
US
I caused this error on our development server because I wanted to see how and what information would be given regarding such an error. This is what it gave:

"An error occurred on the server when processing the URL. Please contact the system administrator"

I need it to be something like this:
"Microsoft VBScript compilation error '800a0401'

Expected end of statement

/clients/test/index.asp, line 18

Server=SERVER\SQLEXPRESS;Database=GE_Data;Trusted_Connection=True;"

On IIS 7.0 server it doesn't do that? I have tryied setting the server to Detailed Error message and I have the advanced settings unchecked for show friendly error in the browser. Any help would be great?
 
I got it here is the fix by default the IIS 7.0 turns the send error to browser function off. Run this command:

%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true

or go to your UI under asp properties and set the "send error to browser" = True

Later and thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top