Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - SQL Error Handling
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SQL Error Handling

 Post Reply Post Reply
Author
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post Topic: SQL Error Handling
    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
Soft 4 web
Back to Top
aero View Drop Down
Groupie
Groupie
Avatar

Joined: 21 May 2003
Location: Denmark
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote aero Quote  Post ReplyReply Direct Link To This Post 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.colber.dk/help/http_status_codes.htm

Back to Top
aero View Drop Down
Groupie
Groupie
Avatar

Joined: 21 May 2003
Location: Denmark
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote aero Quote  Post ReplyReply Direct Link To This Post Posted: 02 July 2003 at 4:13am

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

Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post Posted: 02 July 2003 at 7:16am
That cure it, thanks. Actualy it was there, but it was in the wrong place!
Cristian Banu
Soft 4 web
Back to Top
the boss View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 January 2003
Location: Saudi Arabia
Status: Offline
Points: 1727
Post Options Post Options   Thanks (0) Thanks(0)   Quote the boss Quote  Post ReplyReply Direct Link To This Post Posted: 03 July 2003 at 12:44am

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

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

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.