ODBC-problems

  • Thread starter Nijazi Halimaji
  • Start date
N

Nijazi Halimaji

Hi folks

I've already posted this problem, but the description was not good enough.
So I try again.

In the datasources of the my computer I have created a odbc-datasource named
Test1.

The first test was in Access: So I made File-Import Data, then choosed
odbc-computer sources and selected my source named Test1. After this I was
able to select my table and everything works fine.

In Visual Studio I tried now with the wizard. So the way is the same like in
access, but when vs tries to load the tables following error is shown: "An
error occured while retrieving the information from the database: Column
'TABLE_CAT' does not belong to table Tables.

Whatever this mean, I don't know! I only know that this works in VB6 when I
use ADO with the same connection string, it works on access but It don't
work in Visual Studio .NET

Any Help?

Thanks alot

Nijazi Halimaji
 
P

Paul Clement

¤ Hi folks
¤
¤ I've already posted this problem, but the description was not good enough.
¤ So I try again.
¤
¤ In the datasources of the my computer I have created a odbc-datasource named
¤ Test1.
¤
¤ The first test was in Access: So I made File-Import Data, then choosed
¤ odbc-computer sources and selected my source named Test1. After this I was
¤ able to select my table and everything works fine.
¤
¤ In Visual Studio I tried now with the wizard. So the way is the same like in
¤ access, but when vs tries to load the tables following error is shown: "An
¤ error occured while retrieving the information from the database: Column
¤ 'TABLE_CAT' does not belong to table Tables.
¤
¤ Whatever this mean, I don't know! I only know that this works in VB6 when I
¤ use ADO with the same connection string, it works on access but It don't
¤ work in Visual Studio .NET
¤

Multi posting a question in the same newsgroup is not a good idea. It creates multiple threads
concerning the same topic which can be rather confusing.


Paul
~~~~
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top