
[ODBC Driver Manager] Data source name not found and no default driver specified
I have a VB 6 (SP5) Application connecting to a SQL Server 7 Database that
is housed on a separate machine.
The machine that is hosting the application has MDAC 2.7 SP1 installed and
is a Windows 2000 Server.
When running the application i'm getting an error message:
ID: -2147467259
Description: [Microsoft][ODBC Driver Manager] Data source name not found and
no default driver specified
On my development machine it works fine but it's going to a SQL Server 2000
database...
Here is the connection strings i've tried on the the hosting machine are:
"Provider=MSDASQL;Driver=SQL
Server;Server=ServerName;UID=User;PWD=Password;Database=DatabaseName"
And (this is the one i use on my WinXP machine connection to SQL 2k)
"Provider=SQLOLEDB.1;Password=Password;Persist Security Info=True;User
ID=User;Initial Catalog=DatabaseName;Data Source=ServerName"
I haven't been able to find anything of help out on the internet... and i'm
completely baffeled as to why this error is happening...
Any help is greatly appreciated!
Thanks,
Adam