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

Exception when creating ADODB Connection object

6 views
Skip to first unread message

wojo

unread,
Feb 21, 2003, 4:25:22 PM2/21/03
to
guys,

i dont know whats wrong, i get ERROR#1 (below) totally
random on random pages and always points the the line:

set oCon = Server.CreateObject("ADODB.Connection")

Also i'm getting ERROR#2 (below) in random too but that
one happens only on these lines:

rs.Open [SQL_STATEMENT], oCon, 0, 1
set rs = oCon.Execute([SQL_STATEMENT])

i've tried ODBC and DNS-less connections...

can anybody help? i searched but couldn't find anything

thanks a bunch, you guys are the best!
wojo.

MS SQL 2000 SP3

ERROR #1
--------------------------------------------------------
Active Server Pages error 'ASP 0241'

CreateObject Exception

/buy.asp

The CreateObject of '(null)' caused exception C0000005.

Active Server Pages error 'ASP 0241'

CreateObject Exception

/buy.asp

The CreateObject of '(null)' caused exception C0000005.

Server object error 'ASP 0177 : c0000005'

Server.CreateObject Failed

/buy.asp, line 10

c0000005
--------------------------------------------------------


ERROR#2
--------------------------------------------------------
Microsoft VBScript runtime error '800a01fb'

An exception occurred: 'oCon.execute'

/common.asp, line 1755
--------------------------------------------------------

Curt_C [MVP]

unread,
Feb 21, 2003, 4:32:07 PM2/21/03
to
Look here
http://www.aspfaq.com/show.asp?id=2355


--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"wojo" <m...@wietecha.com> wrote in message
news:024401c2d9ef$bdb8ef20$a301...@phx.gbl...

0 new messages