Re: Convince IIS to hide ODBC errors from the client
From: Ken Schaefer (kenRMV@THISadOpenStatic.com)
Date: 09/24/02
- Next message: Ken Schaefer: "Re: IIS / Share / Integrated Security"
- Previous message: Ken Schaefer: "Re: Intranet/Internet"
- In reply to: alicemet: "Convince IIS to hide ODBC errors from the client"
- Next in thread: alicemet: "Re: Convince IIS to hide ODBC errors from the client"
- Reply: alicemet: "Re: Convince IIS to hide ODBC errors from the client"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Ken Schaefer" <kenRMV@THISadOpenStatic.com> Date: Tue, 24 Sep 2002 12:42:02 +1000
Do you really want to still be using IDC/HTX?!?
Anyway, you can change a setting in IIS if you want:
Right-click on the website in question in the IIS MMC and choose
"Properties". Goto "Home Directory", click on "Configuration" towards the
bottom, switch to the debugging tab, and there is a radio option (Send
Detailed Error Messages to the Client -vs- Send "xxx" canned message to the
client). Choose the canned message, and enter whatever message you want
displayed.
Cheers
Ken
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "alicemet" <asbarrus@hotmail.com> wrote in message news:51730da6.0209231436.343fe54b@posting.google.com... > Hi guys, > > This should be a simple task, but it's stumped me. I don't personally > do any programming with HTML/IDC/HTX pages, etc. But I have a web > server connected to an MSSQL database that uses IDC and HTX pages, > talking to various ODBC DSN's, that communicate with my database. > > If there are any errors with that communication layer, they are passed > to the client. IE: login failed, tempdb full, etc. They look like: > > Error Performing Query > [State=37000][Error=170][Microsoft][ODBC SQL Server Driver][SQL > Server]Line 1: Incorrect syntax near '='. > > When a bug like this creeps in, I don't want it to be displayed to the > client. I want to hide it and display a more friendly message > (primarily for security reasons). > > Where would I begin tinkering to solve this problem? > > Aaron
- Next message: Ken Schaefer: "Re: IIS / Share / Integrated Security"
- Previous message: Ken Schaefer: "Re: Intranet/Internet"
- In reply to: alicemet: "Convince IIS to hide ODBC errors from the client"
- Next in thread: alicemet: "Re: Convince IIS to hide ODBC errors from the client"
- Reply: alicemet: "Re: Convince IIS to hide ODBC errors from the client"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|