使用连接字符窜为:"Provider=MSDAORA.1;Password=test;User ID=mima;Data Source=adgisdev;Persist Security Info=True"连接时经常出现以下错误:
实时错误 '-2147467259(80004005)'
发生了一个Oracle错误,但无法从Oracle中检索错误信息为什么?如何解决?
实时错误 '-2147467259(80004005)'
发生了一个Oracle错误,但无法从Oracle中检索错误信息为什么?如何解决?
On Error GoTo connect_error
连接代码
connect_error:
If con.State = adStateClosed Then
MsgBox "连接超时,无法连接数据库服务器"
End If