[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
- From: "Sean" <sean.anderson@[nospam]oakleafgroup.biz>
- Date: Wed, 18 Apr 2007 11:25:50 +0100
I am having a bit of a nightmare here.
My web application connects to eight different SQL databases, each of which
is connected using a connection string (like the following) and it also
connects to three Access DB's
*** SQL Connections ***
Provider=SQLOLEDB;Data Source=127.0.0.1;Initial
Catalog=E_Database;UID=****;PWD=****;
Provider=SQLOLEDB;Data Source=127.0.0.1;Initial
Catalog=M_Database;UID=****;PWD=****;
Provider=SQLOLEDB;Data Source=127.0.0.1;Initial
Catalog=F_Database;UID=****;PWD=****;
*** Access Connections ***
DRIVER={Microsoft Access Driver (*.mdb)};DBQ=C:\...\WMS.mdb
That all works fine, but I am trying to move the Access database into SQL
.... that was simple. Created the permissions on the SQL WMS database and
changed the connection to the following:
Provider=SQLOLEDB;Data Source=127.0.0.1;Initial
Catalog=WMS;UID=****;PWD=****;
.... and it just will not work, with the following error when I try to
connect
[DBNETLIB][ConnectionOpen (Connect()).]
SQL Server does not exist or access denied.
The line of ASP code which triggers the error is the cn.Open in the
following.
Set cn = Server.CreateObject("ADODB.Connection")
cn.Open "Provider=SQLOLEDB;Data Source=127.0.0.1;Initial
Catalog=WMS;UID=****;PWD=****;"
[code]
cn.Close
Set cn = Nothing
Any advice would be welcomed.
Thanks
Sean
.
- Prev by Date: RE: Cannot generate SSPI context on laptop from different domain
- Next by Date: How can I verify that the sqlserver on my development is accessable from internet
- Previous by thread: RE: Cannot generate SSPI context on laptop from different domain
- Next by thread: How can I verify that the sqlserver on my development is accessable from internet
- Index(es):
Relevant Pages
|
Loading