Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CreateObject Exception error

3 views
Skip to first unread message

Ben McGaughey

unread,
Oct 16, 2001, 6:52:36 PM10/16/01
to
I am getting a CreateObject exception error C0000005
Looks like this:

The CreateObject of '(null)' caused exception C0000005

Server object error 'ASP 0177 : c0000005'

Server.CreateObject Failed

The code is simply:
Set dbc = Server.CreateObject("ADODB.Connection")

From what I gather, this would mean that my connection to
the database is gone, but I don't get the error all the
time. The DB is on another machine that I create an ODBC
connection to. What could spawn such an error? Am I
right about the connection?

Thanks,
Ben McGaughey
bugn...@hotmail.com

Microsoft Developer Support

unread,
Oct 17, 2001, 4:04:58 PM10/17/01
to
Ben,
If it fails creating the ADODB.Connection object, then the connection was
never made. Not sure what would cause it, especially if it is intermittant.
Do you have any sample code that can reproduce the problem? Here all I
could find on the error. I hope this is informative.


http://support.microsoft.com/support/kb/Articles/q262/6/81.asp


Thanks,
Terrell A.
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.

0 new messages