If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > SQL Server Connectivity Error

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-01-09, 20:01
frank.svs frank.svs is offline
Registered User
 
Join Date: Nov 2007
Posts: 41
SQL Server Connectivity Error

Hi Guys,

I am getting this error very frequently , when i am getting connected to SQL Server from command line. But iam able to connect to the Instance using Management Studio with any problems.

Check the ErrorLog but could'nt figure out what is the actual problem.

Can anybody explain how to fix this problem?


Here is the error what am getting!!

C:\>net start mssql$sql_02
The requested service has already been started.

More help is available by typing NET HELPMSG 2182.


C:\>sqlcmd -Smssql$sql_02 -E
HResult 0x35, Level 16, State 1
Named Pipes Provider: Could not open a connection to SQL Server [53].
Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred

while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections..
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.

C:\>

Thanks in Advance.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On