我試圖將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