Connection Issues using ADO

JoshuaSavesJoshuaSaves Member Posts: 15
I have tried the following connection strings to establish my connection. Each time I run the code I get an error saying that the Database doesn't exist or access denied. However using the same cridentials I was able to create an access db and link to the SQL db. The is for SQL 2000. Can someone look at the connection string below and see if I am missing something or have a parameter wrong?

Server='VISIONSQL\VISION1';Database='Test';Uid=MyUserID;Pwd=myPassword

Data Source='Test DB';Server='VISIONSQL\VISION1';Database='Test';Uid=MyUserID;Pwd=myPassword

Driver={SQL Server};Data Source='Test DB';Server='VISIONSQL\VISION1';Database='Test';Uid=MyUserID;Pwd=myPassword

Driver={SQL Server};Server='VISIONSQL\VISION1';Database='Test';Uid=MyUserID;Pwd=myPassword

Answers

Sign In or Register to comment.