Print Page | Close Window

SQL Error Handling

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=3995
Printed Date: 30 March 2026 at 6:55am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: SQL Error Handling
Posted By: zaboss
Subject: SQL Error Handling
Date Posted: 02 July 2003 at 3:43am
After I converted my app to SQL server I have noticed that my entire error handling is... gone. For, instance, when a user logs in, if he enters wrong any of his credentials it is supposed to be transfered to an error.asp?error=x page explaining what he did wrong. After switching to sql server, it just pump up an sql error page instead of mine. What should I add to my code?

-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web



Replies:
Posted By: aero
Date Posted: 02 July 2003 at 4:12am

U cant make errorsites like 500.100 Can't find the site and so on, in that way U are making them !!!!!

if U want to make error sites like 500.100 and so on, We are talking in .htaccess and here are some link "HOW TO DO .HTACCESS"

http://www.javascriptkit.com/howto/htaccess2.shtml - http://www.javascriptkit.com/howto/htaccess2.shtml

http://www.colber.dk/help/http_status_codes.htm - http://www.colber.dk/help/http_status_codes.htm



Posted By: aero
Date Posted: 02 July 2003 at 4:13am

Ow SORRY now I understand u'r message !!!



Posted By: ljamal
Date Posted: 02 July 2003 at 6:15am
It looks as if the error handling has been returned to for scripting language, if you are using VBscript simply turn off the error handling by using

On Error Resume Next

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: zaboss
Date Posted: 02 July 2003 at 7:16am
That cure it, thanks. Actualy it was there, but it was in the wrong place!

-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web


Posted By: the boss
Date Posted: 03 July 2003 at 12:44am

caught something nice over there.. how to aviod remote linking..

http://www.javascriptkit.com/howto/htaccess10.shtml - http://www.javascriptkit.com/howto/htaccess10.shtml




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net