![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||||
| |||||
|
|
I understand that only a Win2K client cannot connect to SQL 2005 after you installed SQL native client. You encounter error message "login timeout expired". 2 WinXP machine works fine. If I'm off-base, please let me know. |
|
Since named pipes is based on netbios, you may want to temoporarily disable any firewall on the client to test. |
|
Also, on SQL server side, please first run "SQL Server Surface Area Configuration" tool to enable remote connections, then open "SQL Server Configuration Manager" to make sure TCPIP protocol is enabled, and check the port it uses. Please check the SQL error log and make sure both named pipes and TCPIP is really enabled on the server. C:\Program Files\Microsoft SQL Server\MSSQL.x\MSSQL\LOG\errorlog |
|
On Win2k mahcine, first use configuration manager to make sure both TCPIP and named pipes are enabled. |
|
Then you may try the following steps: 1. Ping <server name> <port> to make sure it is open and can be accessed from client. For example: ping sqlserver 1433 2. Try to use TCP to by using the following command: sqlcmd tcp:<servername>,<port For example: sqlcmd tcp:sqlserver,1433 3. Try to use Named pipe to connect to command. For example: sqlcmd -S np:\\ComputerA\pipe\sql\query sqlcmd -S np:\\ComputerA\pipe\MSSQL$<instancename>\sql\query --named instance |
#5
| |||
| |||
|
|
Hello Francois, Sorry I posted the reply to another thread from you here. I understand that only a Win2K client cannot connect to SQL 2005 after you installed SQL native client. You encounter error message "login timeout expired". 2 WinXP machine works fine. If I'm off-base, please let me know. Since named pipes is based on netbios, you may want to temoporarily disable any firewall on the client to test. Also, on SQL server side, please first run "SQL Server Surface Area Configuration" tool to enable remote connections, then open "SQL Server Configuration Manager" to make sure TCPIP protocol is enabled, and check the port it uses. Please check the SQL error log and make sure both named pipes and TCPIP is really enabled on the server. C:\Program Files\Microsoft SQL Server\MSSQL.x\MSSQL\LOG\errorlog On Win2k mahcine, first use configuration manager to make sure both TCPIP and named pipes are enabled. Then you may try the following steps: 1. Ping <server name> <port> to make sure it is open and can be accessed from client. For example: ping sqlserver 1433 2. Try to use TCP to by using the following command: sqlcmd tcp:<servername>,<port For example: sqlcmd tcp:sqlserver,1433 3. Try to use Named pipe to connect to command. For example: sqlcmd -S np:\\ComputerA\pipe\sql\query sqlcmd -S np:\\ComputerA\pipe\MSSQL$<instancename>\sql\query --named instance If you have any update, please feel free to let me know. Thank you. Thanks & Regards, Peter Yang MCSE2000/2003, MCSA, MCDBA Microsoft Online Community Support ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif ications http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx>. Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx>. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. |
![]() |
| Thread Tools | |
| Display Modes | |
| |