我试图将UFT与Sybase连接。但无法取得进展。 下面是错误消息我得到了在试图DIFF连接字符串:无法通过UFT 12.53连接到sybase
[08001] [本机代码:30012] [ASEOLEDB]客户端无法建立连接
连接字符串
1)objConnection。打开“Driver = {Adaptive Server Enterprise}; Provider = ASEOLEDB; Data Source = ServerName/xxx.xxx.xxx.xxx:PortNumber,Catalog = db; User Id = UID; Password = pwd;” (请注意,当使用Microsoft Visual Basic进行Sybase连接时,字符串可以正常工作。 2)objConnection.open“Driver = {Adaptive Server Enterprise}; Provider = ASEOLEDB; Server = sreverName/IpAdd; port = 5000; db = db; uid = userid; pwd = password;“
另外我使用DSN较少的连接。使用的端口是 - 5000,5001,2439,2638,4950