无法在动态链接库中找到oci.dll
我不确定为什么每次编译和运行运行 Oracle 10g 的 VB.net 程序时都会突然出现此错误。很多次都运行得很好,但现在突然一直这样说。
http://i55.tinypic.com/24vqhc0.jpg
它发生在这条线上:
myConnection = New OleDbConnection("Provider=OraOLEDB.Oracle;Data Source=(DESCRIPTION=(ADDRESS_LIST=" & _
"(ADDRESS=(PROTOCOL=TCP)(HOST=" & dbHost & ")(PORT=" & dbPort & ")))" & _
"(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=" & dbServiceName & ")));" & _
"User Id=" & dbUserId & ";Password=" & dbPassword & ";")
Try
myConnection.Open()
一旦它当它显示该错误框时,就会进入 myConnection.Open() 。就像我说的,我以前工作得很好。
我不确定我需要做什么才能纠正这个问题,所以任何帮助都会很棒!
大卫
I am unsure why all of the sudden i am getting this error every time i compile and run my VB.net program running Oracle 10g. It ran fine many times but all of the sudden keeps saying this now.
http://i55.tinypic.com/24vqhc0.jpg
It happens on this line:
myConnection = New OleDbConnection("Provider=OraOLEDB.Oracle;Data Source=(DESCRIPTION=(ADDRESS_LIST=" & _
"(ADDRESS=(PROTOCOL=TCP)(HOST=" & dbHost & ")(PORT=" & dbPort & ")))" & _
"(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=" & dbServiceName & ")));" & _
"User Id=" & dbUserId & ";Password=" & dbPassword & ";")
Try
myConnection.Open()
Once it gets to the myConnection.Open() is when it displays that error box. Like i said, i used to work just fine.
I'm not sure what i need to do in order to correct this so any help would be great!
David
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的 Oracle 数据提供程序有问题。最好重新安装一下。
You have a problem with the Oracle data provider. It is best to reinstall it.