ASP Error Handling
MaxiASP Replaces Shell 03.05.2005 23:52
MaxiASP will be at your service with a new design very soon.
With the lively design prepared by our manager Berker Peksağ, MaxiASP will be at your service very soon. If there is a place you see missing or want to be added to the site, you can add it as a comment below this announcement, and let us know how MaxiASP should be for you for the new interface.
Microsoft OLE DB driver error for ODBC driver "80004005" [Microsoft] [Access ODBC driver 97 ODBC driver] invalid syntax "
Please note that I just invented this error message, so please do not send emails asking how you can get this error by entering your name!
You get one of those views from your boss who says, “I hope you did not expect a positive performance review.”
There is nothing worse for the end user than seeing these terrible ADO errors. They are poorly formatted, mysterious and make the user think what to do. Your average end user does not know ODBC from OLE. How can you avoid these nasty error messages?
First, you need to add the following at the top of the ASP page:
<% On Error Resume Next%>
This tells ASP to simply ignore errors instead of stopping execution and displaying an inconvenient error message. You may be tempted to continue in the same vein. Otherwise, and if errors occur, your users will not know about them. You will think that your information has been saved correctly, although this is not due to an ADO error.
Microsoft & Windows® logos are registered trademarks of Microsoft. Disclaimer: ErrorVault.com is not affiliated with Microsoft, nor does it claim such affiliation. The information on this page is provided for informational purposes only. © Copyright 2018