无法使用vb6连接oracle9i [英] unable to connect oracle9i with vb6

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

问题描述

嗨好朋友..


i hav在vb中开发了一个应用程序,尝试使用oracle进行连接..


它给出了以下内容使用ADODC和ODBC时出错


测试连接失败,因为初始化提供程序时出错。[microsoft] [odbc]驱动程序为oracle]


请帮助..

解决方案

请发布连接字符串以供我参考。


< blockquote>


使用此连接字符串:

展开 | 选择 | 换行 | L ine数字





非常感谢。我可以通过ODBC驱动程序实现它。但是应用程序变得非常慢。在获取数据时它几乎挂起。


当我使用b时,问题仍然存在oracle的微软oledb提供程序。

我遵循的步骤如下:

1.在表单上设置ado数据控件,单击以设置Adodc的属性。 br />
2.选择conn str的构建,oracle的microsoft ole db。

3.下一次单击要求输入服务器名称,用户名和密码。

4.在提供scott / tiger之后测试连接,给出错误,它在初始化提供程序时显示连接fails.error,无法从oracle恢复错误。

5.即使我将服务器名称设置为oracle9i,也不会产生相同的错误。


非常感谢您花时间处理我的问题。


Hi pals..

i hav developed an application in vb nd am tryin to connect using oracle..

it gives the following error using ADODC and ODBC

"test connection failure because of an error in initializing provider.[microsoft][odbc]driver for oracle]"

please help..

解决方案

kindly post your connection string for my reference.


Hi,

Use this Connection string :

Expand|Select|Wrap|Line Numbers


Hi,

Thanks a lot. I could achieve it through ODBC driver .But the application has become really slow. it nearly hangs while fetching the data.

Also the problem still persists when i use " microsoft oledb provider for oracle".
the steps i follow are as below:
1. set the ado data control on form, click to set the properties of Adodc.
2. Choose build for conn str, microsoft ole db for oracle.
3. the next click asks for the server name, the user name and pwd.
4. testing connection after feeding "scott/tiger", gives error, it says "Connection fails.error while initializing provider, the error could not be recovered from oracle".
5. Even if i set the server name to oracle9i , it doesnt work giving the same error.

Thanks a lot for devoting time to my problems.


这篇关于无法使用vb6连接oracle9i的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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