database connection problem

M

Mahesh.V

Hi all
I am using Visual Studio .NET and from my VB.NET application am not able
to connect to database using ODBC or even native database drivers. From the
same machine am able to connect to database using ODBC through visual basic
and all other applications. I have reinstalled .Net Framework, MDAC even
Visual Studio .Net, but still am not able to connect to the database from
VB.NET application. Can any one help me out solving this problem

Thanks in advance
V.Mahesh
 
J

JohnFol

Hi Mahesh, what error do you get when you try and connect?
Have you tried using the Server Explorer?
 
M

Mahesh.V

Hi JohnFol
I get the following error.
Microsoft Datalink error
Test connection failed because of an error in initializing
provider.Unspecified err.

Mahesh.V
 
J

JohnFol

Just reading through a few google comments, and it seems it may be the
connection string.
What are you connecting to and what string is it?
 
M

Mahesh.V

Not only through the connect string, am not able to connect to database
thorough ADO.NET control even in design mode using the datalink properties.

Mahesh.V
 

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