|
 |
asp_components thread: error when connecting from dll to DB
Message #1 by "Thomas Paat" <thomas.paar@e...> on Mon, 16 Sep 2002 15:16:06
|
|
Hi all,
I have difficulties with a dll, which is written in VB 6.0, when I try to
establish a connection to the DB (= SQL Server 2000) from the dll.
Locally, however, this error does not appear - so it seems to be somehow
related to Win2000 Server.
The whole thing looks like that:
Dim conn As connection
Set conn = New Connection
conn.Open mstrConnectionString
After this line I get this error:
Error# = -2147467259 [DBNMPNTW]ConnectionOpen (CreateFile())
Does anybody know, what the reason for this could be?
thanks a lot
Thomas
Message #2 by "Adrian Forbes" <adrian.forbes@n...> on Mon, 16 Sep 2002 15:17:58 +0100
|
|
There is a problem with your connection string. What is it? Is it a DSN?
If so make sure it is a system DSN and not a user one.
-----Original Message-----
From: Thomas Paat [mailto:thomas.paar@e...]
Sent: Monday, September 16, 2002 3:16 PM
To: ASP components
Subject: [asp_components] error when connecting from dll to DB
Hi all,
I have difficulties with a dll, which is written in VB 6.0, when I try to
establish a connection to the DB (= SQL Server 2000) from the dll.
Locally, however, this error does not appear - so it seems to be somehow
related to Win2000 Server.
The whole thing looks like that:
Dim conn As connection
Set conn = New Connection
conn.Open mstrConnectionString
After this line I get this error:
Error# = -2147467259 [DBNMPNTW]ConnectionOpen (CreateFile())
Does anybody know, what the reason for this could be?
thanks a lot
Thomas
%%email.unsub%%
|
|
 |