Data Source connection failing

This is a discussion on Data Source connection failing within the ODBC forums in Framework and Interface Programming category; Using Visual Studio 2005, VB windows app, trying to add a data source. I have system DSN's for two separate external databases, 1 MySQL and 1 Oracle. I have linked to both of these databases via Access successfully for years, however neither of them works in VB. Here are the errors that I receive when attempting to connect a Data Source: MySQL: an error occurred while retrieving the information from the database: ERROR [42S02] [MySQL][ODBC 3.51 Driver][mysqld-4.0.12-nt]Table '<tablename>.dual' doesn't exist Oracle: Failed to call the ODBC driver connection utility. Now, this error occurs after I have made the connection and ...

Go Back   Application Development Forum > Framework and Interface Programming > ODBC

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-08-2007, 10:00 AM
=?Utf-8?B?cmljaw==?=
Guest
 
Default Data Source connection failing

Using Visual Studio 2005, VB windows app, trying to add a data source. I
have system DSN's for two separate external databases, 1 MySQL and 1 Oracle.
I have linked to both of these databases via Access successfully for years,
however neither of them works in VB. Here are the errors that I receive when
attempting to connect a Data Source:

MySQL:

an error occurred while retrieving the information from the database:
ERROR [42S02] [MySQL][ODBC 3.51 Driver][mysqld-4.0.12-nt]Table
'<tablename>.dual' doesn't exist


Oracle:

Failed to call the ODBC driver connection utility.

Now, this error occurs after I have made the connection and selected a table
and hit the finish button. So, it connects and sees the tables, why won't it
finish the process?

I have tried using both the DSN and creating a connect string on the fly,
and both ways give me the same errors.

Reply With Quote
  #2  
Old 11-08-2007, 10:54 AM
Ralph
Guest
 
Default Re: Data Source connection failing


"rick" <rick@discussions.microsoft.com> wrote in message
news:9606B3AA-BE00-4597-A66E-DACAE1F2BBEB@microsoft.com...
> Using Visual Studio 2005, VB windows app, trying to add a data source. I
> have system DSN's for two separate external databases, 1 MySQL and 1

Oracle.
> I have linked to both of these databases via Access successfully for

years,
> however neither of them works in VB. Here are the errors that I receive

when
> attempting to connect a Data Source:
>
> MySQL:
>
> an error occurred while retrieving the information from the database:
> ERROR [42S02] [MySQL][ODBC 3.51 Driver][mysqld-4.0.12-nt]Table
> '<tablename>.dual' doesn't exist
>
>
> Oracle:
>
> Failed to call the ODBC driver connection utility.
>
> Now, this error occurs after I have made the connection and selected a

table
> and hit the finish button. So, it connects and sees the tables, why won't

it
> finish the process?
>
> I have tried using both the DSN and creating a connect string on the fly,
> and both ways give me the same errors.
>


Wrong newsgroup. You will have better success in VB.Net group.
You may want to provide code so they can see what you're doing in VB.

You can find a complete list of managed (dotNet) newsgroups here:
http://msdn.microsoft.com/subscripti...oups/list.aspx


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:53 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.