[ODBC Driver Manager] Data source name not found and no default driver specified 
Author Message
 [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



Mon, 24 Oct 2005 07:24:03 GMT  
 [ODBC Driver Manager] Data source name not found and no default driver specified

Quote:

> 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

http://www.able-consulting.com/ADO_Conn.htm
http://www.connectionstrings.com/


Mon, 24 Oct 2005 22:08:26 GMT  
 [ODBC Driver Manager] Data source name not found and no default driver specified
Try using UDL files
Quote:
----- Original Message -----

Newsgroups: microsoft.public.vb.database
Sent: Thursday, May 08, 2003 5:24 AM
Subject: [Microsoft][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



Tue, 25 Oct 2005 00:25:36 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. [ODC Driver Manager] Data source name not found and no default driver specified

2. Data Source Name not found and no default driver specified error

3. debug--data source name or default driver not found

4. [ODBC Driver Manager] Driver's SQLSetConnectAttr failed

5. Data source name not found and no default driver specified HELP!

6. not allowing ODBC Driver Manager to appear

7. ADO could not find the specified driver

8. ms obdc driver manager not found

9. Oracle ODBC driver / Microsoft ODBC driver for Oracle

10. Crystal Reports - No default driver specified???

11. Specifying a database in code that uses ODBC drivers

12. * Microsoft Text Driver as an ODBC driver

 

 
Powered by phpBB® Forum Software