Current location: Hot Scripts Forums » Programming Languages » ASP » Catch MySQL ODBC driver Errors in ASP

Catch MySQL ODBC driver Errors in ASP

Reply
  #1 (permalink)  
Old 04-13-09, 09:45 AM
Papermouse Papermouse is offline
Newbie Coder
 
Join Date: Mar 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Catch MySQL ODBC driver Errors in ASP

In ASP on Win2003 server, I can catch the ASP-errors, sending the user to a custom page while sending myself an e-mail something is wrong. All by editing the 500-100.asp page as a custom error page.
However, errors like
Quote:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[MySQL][ODBC 5.1 Driver][mysqld-5.1.32-community-log]Unknown column 'datum1' in 'field list'
will not be caught by this, the user will still get a confusing white page and more important, I have no idea something went wrong.

So, how I can I set up a custom error page for this? I know php has a catch error procedure, APS does not as far as I know, so I have to figure out a way around it.

Thanks,

Papermouse
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP or PHP which is better? nepala The Lounge 3 12-05-08 09:19 AM
[For Hire] Php, Mysql ASP, AJAX programmer t_narendra Job Offers & Assistance 0 11-29-06 06:08 AM
[For Hire] Php, Mysql, ASP, AJAX, DHTML programmer t_narendra Job Offers & Assistance 0 09-01-06 01:25 AM
MySQL via ODBC won't advance rows Ryan F PHP 0 02-16-05 07:54 PM
ASP syntax error stuckonaproject ASP 8 12-14-04 10:30 AM


All times are GMT -5. The time now is 03:14 PM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.