RE: SQLCMD fails with login timeout expired.
- From: petery@xxxxxxxxxxxxxxxxxxxx ("Peter YangMSFT]")
- Date: Thu, 12 Jul 2007 05:02:29 GMT
Hello Morris,
I understand tht you could connect to SQL Express properly by 2005
management tool but you cannot connect it via sqlcmd. If I'm off-base,
please let me know.
First I'd like to know the following information before we go further:
1. By using SQL 2005 configuration manager, please check if both TCPIP and
Named Pipes are enabled for SQL Express instance. Also, please make sure
SQLBrowser service is running
2. In Configuration manager, please make sure TCPIP and named pipes
protocals are enabled properly for SQL client.
3. Please check the errorlog for the sql express instance and make sure
TCPIP and Named pipes are enabled. You shall also see the port for
C:\Program Files\Microsoft SQL Server\MSSQL.x\MSSQL\LOG
4. Try different protocols by using SQLCMD to test
sqlcmd -S np:\\127.0.0.1\pipe\MSSQL$instancename\sql\query
sqlcmd -S tcp:servername\instancename
sqlcmd -S tcp:servername\instancename,portnumber
Note: You may need to change the servername, instancename, portnumber
properly according to your server configurations.
If you have any update, please feel free to let's know. Thank you.
Best 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/subscriptions/managednewsgroups/default.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.
.
- Follow-Ups:
- RE: SQLCMD fails with login timeout expired.
- From: Morris Neuman
- RE: SQLCMD fails with login timeout expired.
- Prev by Date: RE: Integrate SQL Server Management Studio with Sharepoint
- Next by Date: Re: SQLCMD fails with login timeout expired.
- Previous by thread: RE: Integrate SQL Server Management Studio with Sharepoint
- Next by thread: RE: SQLCMD fails with login timeout expired.
- Index(es):
Relevant Pages
|
Loading