Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

getting "A trappable error (C0000005) occurred" instead of "OLE DB Provider" error?

$
0
0

Today I discovered a very strange IIS behavior on a new build.

I am using the same code, the same database, but for some reason I am not getting the expected "traditional" error.

Normally the error looks like this:

Microsoft OLE DB Provider for ODBC Drivers error '80040e0c'

Command text was not set for the command object.

Pagename.asp  line 123

but for some inexplicable reason that same error on the other system looks like this:

Active Server Pageserror 'ASP 0115'

Unexpected error

/home.asp

A trappable error (C0000005) occurred in an external object. The script cannot continue running.

A C0000005 error is useless. How can I get a normal error on that system?

I am on a Windows 10 Pro 64bit system; and code classic ASP; connecting to MySQL DB using PROVIDER=MSDASQL;DRIVER={MySQL ODBC 5.3 ANSI Driver} ...

The only difference between this new build is that I am using this:DRIVER={MySQL ODBC 5.3 ANSI Driver}, on the older system I am using this: DRIVER={MySQL ODBC 5.1 Driver}


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>