Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sgondesi
Posting Yak Master
200 Posts |
Posted - 2013-12-30 : 06:12:47
|
I am getting the below error when i typed sqlcmd in my command prompt.Looking for help..C:\Windows\system32>sqlcmdHResult 0x2, Level 16, State 1Named Pipes Provider: Could not open a connection to SQL Server [2].Sqlcmd: Error: Microsoft SQL Server Native Client 10.0 : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..Sqlcmd: Error: Microsoft SQL Server Native Client 10.0 : Login timeout expired.-- Thanks and RegardsSrikar Reddy Gondesi,BTECH-IT 2013 Passed Out,Trainee for SQL Server Administration,Miracle Software systems, Inc. |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2013-12-30 : 13:21:19
|
You'll need to pass what server you want to connect to:sqlcmd -Sserver1\instance1 -ETara KizerSQL Server MVP since 2007http://weblogs.sqlteam.com/tarad/ |
|
|
sgondesi
Posting Yak Master
200 Posts |
Posted - 2014-01-02 : 05:11:32
|
quote: Originally posted by tkizer You'll need to pass what server you want to connect to:sqlcmd -Sserver1\instance1 -ETara KizerSQL Server MVP since 2007http://weblogs.sqlteam.com/tarad/
Ya.. i came to know how to access that. sorry for not updating here. And thank you for the reply.-- Thanks and RegardsSrikar Reddy Gondesi,BTECH-IT 2013 Passed Out,Trainee for SQL Server Administration,Miracle Software systems, Inc. |
|
|
|
|
|