Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Shaik Baji
Starting Member
1 Post |
Posted - 2009-05-27 : 06:59:44
|
| Hi, I had a vb6 application. It is running fine on 32-bit Windows OSwith MS SQL Server 2005 but now i want to run my application on 64-bit Windows Os with MS SQL Server 2005 but while running on 64-bitwindows OS i got following error "Data source name not found and no default driver specified". My code is as followsDim AdoCon As ADODB.ConnectionSet AdoCon = New ADODB.ConnectionAdoCon.Open "MyDSN", "sa", "sa123#"can any one please tell me, is this problem with SQL server driver or DSN ?NOTE: The DSN-Less connecton is working fine. The DSN-Less code is as followsDim strconnect As Stringstrconnect = "Provider=SQLOLEDB.1;Password=sa123#;Persist Security Info=True;User ID=sa;Initial Catalog=QualityCenter_Demo_db;Data Source=ARSINDEMO-2"Dim AdoCon As ADODB.ConnectionSet AdoCon = New ADODB.ConnectionAdoCon.Open strconnectThanks in advancedRegardsshaik bajisk_baji4u@yahoo.com |
|
|
|
|
|