Unable to connect to remote database via IP\INSTANCE
jdraggi
Posts: 8
Unable to connect to remote database via IP, SQL Data Compare 6 worked fine however the IP\INSTANCE when SQL auth does not work.
I even tried copying the Data Compare 6 project to the Data Compare 7 project folder ... same results.
Let me know if you want me to try/do anything.
Thanks,
John
I even tried copying the Data Compare 6 project to the Data Compare 7 project folder ... same results.
Let me know if you want me to try/do anything.
Thanks,
John
Comments
Red-Gate support
2) What kind of remote connection protocol have you got enabled on the remote server (TCP, named pipes, both?)
Redgate Software
Michelle Taylor,
Yes, Data Compare 6 works fine.
Protocols are named pipes and TCP on the remote SQL 2005 instance.
Although connection problems to SQL Server are pretty common, the causes are varied. I'd say that if you could connect using Windows Authentication but not SQL, the difference may be that .NET is choosing a named pipes connection rather than a TCP, because Windows Authentication defaults to the named pipes network library if I recall.
So you may want to try to force the protocol by including it in the server name box, for instance:
np:172.16.0.11\INSTANCE /* named pipes */
tcp:172.16.0.11\INSTANCE /* TCP */
I feel that your TCP network library may be broken, either on the server or the client.
I am running windows vista business and the windows firewall is very subjective.
To fix this problem I had to go to the control panel, security center, windows firewall, "Allow a program through windows Firewall", "add program", browse for "C:\Program Files\Red Gate\SQL Data Compare 7\RedGate.SQLDataCompare.UI.exe", make sure that it now has a 'check mark' next to it to be allowed, click 'ok' to save and... done.
Everything is now connecting in Data Compare 7.
Thanks,
John