1

I have a Windows server 2008 R2 64 bit with a VMware instance of Informix Dynmic Server 11.50 virtual appliance 32bit running.
Using the default database server provided in the virtual appliance i have created a database and a table inside it.
I installed the Informix Client SDK 3.5 and the informix data server provider Drivers on the windows server.
I setup the server connection on the windows server using setnet tool.
I tested the connection with the connect test demo tool of the SDK and the query executed successfully.
Now when I am testing the .Net provider driver by running the testconn.40_32.exe with the following connection String:

testconn40_32.exe -dtc "Database=safdata; Server=192.168.154.128:9088; User ID=root; Password=root"

I get following error:

Unable to open socket to server:

ERROR [08001] [IBM] SQL30081N A communication error has been detected. Communic ation protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "192.168.154.128". Communication functio n detecting the error: "recv". Protocol specific error code(s): "", "", "0". SQLSTATE=08001

4

2 回答 2

0

我卸载了客户端 SDK 和所有其他驱动程序.. 只重新安装了客户端 SDK 并且它工作。客户端驱动程序与我安装的其他版本的驱动程序冲突。

于 2012-08-08T12:57:35.627 回答
0

您是否在同一台机器上尝试过两种测试?如果没有,那么您可能无法通过防火墙或其他网络设备。

如果您在同一台机器上运行测试,则服务器可以正常工作,而不是192.168.154.128使用localhostor 127.0.0.1。您还可以使用netstat命令或工具(如 TCView 或 ProcessExplorer)检查 Informix 是否侦听端口 9088。

于 2012-04-10T12:00:08.490 回答