This is a discussion on "[SOLVED] Database Connection Error Message" within the Classic ASP section. This forum, and the thread "[SOLVED] Database Connection Error Message are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Database Connection Error Message
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] Database Connection Error Message
I wanted to do an error massage in my ASP-MySQL page more similar to what I've learned in PHP.
Can this be done in ASP page? Thanks..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Oct 29th, 2007 at 06:07. |
|
|
|
#2
|
|||
|
|||
|
Re: Database Connection Error Message
Hi Monie,
Have you tried using something like this
Last edited by Phil; Oct 29th, 2007 at 15:13. |
|
#3
|
|||
|
|||
|
Re: Database Connection Error Message
Yeah I've tried that, but I am looking for something more specific, like PHP does!
Thanks..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#4
|
|||
|
|||
|
Re: Database Connection Error Message
Any one with ASP geek might help?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#5
|
|||
|
|||
|
Re: Database Connection Error Message
as phil said you can do the error object http://www.w3schools.com/ado/ado_ref_error.asp
but i think that the die statement is more like "on error resume next" you can look for it in this ADD sample http://www.w3schools.com/ado/ado_add.asp you can play with them both to make your own message or a real ADO error jibrish text ![]() |
|
#6
|
|||
|
|||
|
Re: Database Connection Error Message
Thanks Eran, really helps me with all the question in mind
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#7
|
|||
|
|||
|
Re: Database Connection Error Message
no problem :]
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Getting the "Microsoft JET Database Engine error '80040e14'" error. | VegaLA | Classic ASP | 3 | Jan 26th, 2008 00:12 |
| [SOLVED] Easiest way to open database connection! | Monie | Databases | 4 | Nov 1st, 2007 07:35 |
| Keep getting error message Microsoft VBScript runtime error '800a01a8' | cpando1974 | Classic ASP | 2 | Aug 7th, 2007 12:00 |
| Database connection | fogofogo | Classic ASP | 7 | Dec 5th, 2005 14:25 |
| Database Connection Strings | Smokie | Classic ASP | 0 | Aug 7th, 2003 09:51 |