January 6, 2010 at 11:44 am
Recently I tried to connect, but it failed.
I have SQL Server 2005 Standard Edition installed on Windows XP Pro version 2002 SP2.
I got my IP address from ipconfig comand, passed it to my counterpart, and he entered it as xxx.xxx.xxx.xxx\instance_name format in Connect to SQL Server dialog, however connection failed with error 26 "A network-related or instance specific error occured while establishing connection to SQL server......"
We tried both Windows and SQL Server authentication mode, none of them worked. I also checked Surface Area Configuration tool and it allows local and remote connections with TCP/IP protocols.
What else should I check, like firewall, sp_configure, etc ?
Note: this is my home PC.
Thanks.
January 7, 2010 at 9:22 am
here's a link to some things you can try
For better, quicker answers, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
January 7, 2010 at 9:28 am
You need the IP Address of the data modual, not the IP that it gives out to that particular box. You need too use the IP that the world sees, not that is on the private side of the data modual.
Then you have to modify the ports that the router will be allowed to open.
Andrew SQLDBA
January 7, 2010 at 10:42 am
Have you checked if the protocols needed are enabled? Check in SQL Server Configuration Manager.
Blog -- LearnSQLWithBru
Join on Facebook Page Facebook.comLearnSQLWithBru
Twitter -- BruMedishetty
January 8, 2010 at 8:45 am
Thanks all for your replies, but something is not clear for me:
1. Andrew: how can I get IP Address of the data modual ? That IP address that I have obtained with ipconfig, sounds like really my private one.
2. Bru: TCP/IP is enabled.
Thanks.
January 8, 2010 at 8:52 am
Check if Named Pipes protocol is enabled and try connecting using the Machinename\InstanceName.
Blog -- LearnSQLWithBru
Join on Facebook Page Facebook.comLearnSQLWithBru
Twitter -- BruMedishetty
January 11, 2010 at 10:29 am
Yes, using ipconfig /all will give you the address of the private side, you need the address that the world sees. I use a Classic ASP page on the back of my own site that shows the public facing IP Address. This is what you use to connect to your own box from some where in the world. You can have your switch or router pass out any IPs that you like. I personally do not use the 192.168.x.x ip range. I use something else. That is a secret to help keep my network more secure.
http://www.computer-consultant.com/sendip2.asp
Andrew SQLDBA
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply