数据库连接问题 [英] database connection problem

查看:55
本文介绍了数据库连接问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我使用的是Visual Studio .NET,而且我的VB.NET应用程序无法使用ODBC甚至本机数据库驱动程序连接数据库。从

同一台机器可以使用ODBC通过visual basic

和所有其他应用程序连接到数据库。我重新安装了.Net Framework,MDAC甚至是b $ b Visual Studio .Net,但仍然无法从

VB.NET应用程序连接到数据库。任何人都可以帮我解决这个问题


提前致谢

V.Mahesh

解决方案

您好Mahesh,尝试连接时会出现什么错误?

您是否尝试使用服务器资源管理器?

Mahesh.V <毫安**** @ ewaksoft.com>在消息中写道

新闻:O1 **************** @ TK2MSFTNGP10.phx.gbl ...

大家好我正在使用Visual Studio .NET,并且从我的VB.NET应用程序中无法使用ODBC甚至本机数据库驱动程序连接到数据库。从
同一台机器可以通过可视化基本
和其他所有应用程序使用ODBC连接到数据库。我重新安装了.Net Framework,MDAC甚至Visual Studio .Net,但仍然无法从VB.NET应用程序连接到数据库。任何人都可以帮我解决这个问题

提前致谢
V.Mahesh



您好Mahesh,当您尝试连接时会出现什么错误?

您是否尝试使用服务器资源管理器?

Mahesh.V <毫安**** @ ewaksoft.com>在消息中写道

新闻:O1 **************** @ TK2MSFTNGP10.phx.gbl ...

大家好我正在使用Visual Studio .NET,并且从我的VB.NET应用程序中无法使用ODBC甚至本机数据库驱动程序连接到数据库。从
同一台机器可以通过可视化基本
和其他所有应用程序使用ODBC连接到数据库。我重新安装了.Net Framework,MDAC甚至Visual Studio .Net,但仍然无法从VB.NET应用程序连接到数据库。任何人都可以帮我解决这个问题

提前致谢
V.Mahesh



嗨JohnFol

我收到以下错误。

Microsoft Datalink错误

由于初始化错误导致测试连接失败

provider.Unspecified err。


Mahesh.V


" JohnFol" <区************ @ WibbleObbble.Com>在消息中写道

新闻:Eu ***************** @ newsfe3-win.ntli.net ...

您好Mahesh,尝试连接时会出现什么错误?
您是否尝试使用服务器资源管理器?

" Mahesh.V" <毫安**** @ ewaksoft.com>在消息中写道
新闻:O1 **************** @ TK2MSFTNGP10.phx.gbl ...

大家好我
我我正在使用Visual Studio .NET,并且从我的VB.NET应用程序中无法使用ODBC甚至本机数据库驱动程序连接到数据库。从
同一台机器可以通过可视化基本
和其他所有应用程序使用ODBC连接到数据库。我重新安装了.Net Framework,MDAC甚至Visual Studio .Net,但仍然无法从VB.NET应用程序连接到数据库
。任何人都可以帮我解决这个问题

提前致谢
V.Mahesh




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

解决方案

Hi Mahesh, what error do you get when you try and connect?
Have you tried using the Server Explorer?
"Mahesh.V" <ma****@ewaksoft.com> wrote in message
news:O1****************@TK2MSFTNGP10.phx.gbl...

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



Hi Mahesh, what error do you get when you try and connect?
Have you tried using the Server Explorer?
"Mahesh.V" <ma****@ewaksoft.com> wrote in message
news:O1****************@TK2MSFTNGP10.phx.gbl...

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



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

Mahesh.V

"JohnFol" <Ou************@WibbleObbble.Com> wrote in message
news:Eu*****************@newsfe3-win.ntli.net...

Hi Mahesh, what error do you get when you try and connect?
Have you tried using the Server Explorer?
"Mahesh.V" <ma****@ewaksoft.com> wrote in message
news:O1****************@TK2MSFTNGP10.phx.gbl...

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




这篇关于数据库连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆