by admin » Sat Oct 22, 2011 8:39 pm
Sometimes, for some reason, the sql server client that is always present on windows machines, is set to connect through named pipes or another method, while the server is usually set for tcp/ip only.
In Dynamic AI, you can force the client to use tcp/ip by appending
";Network Library=DBMSSOCN"
after the server name.
So if your server is reached by name SQLSERVER, you would put
SQLSERVER;Network Library=DBMSSOCN
in the server name on the connection definition.
If you need a different port, you can enter
SQLSERVER,15553;Network Library=DBMSSOCN
(where 15553 is the port number)
Accessing by IP instead of by name, you would put
192.168.1.101;Network Library=DBMSSOCN
or
192.168.1.101,15553;Network Library=DBMSSOCN
The ";Network Library=DBMSSOCN" part is normally not necessary as this is almost always the default
I am not certain this is the problem in your case, so I'd like to hear if it solves your problem. If it does, I can find instructions for how to change the default for the client.
Best regards
Bo