Click here to Skip to main content
15,560,045 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
When i try to connect my hosting database then this error is shown by management studio, but when i try from another computer then it works.
Please help me to solve this issue i am using sql server 2008 r2
Thanks

Cannot connect to 69.162.125.10.

ADDITIONAL INFORMATION:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)

For help, click: this link[^]
Posted
Updated 13-May-15 9:58am
v2
Comments
Mantu Singh 13-May-15 14:26pm    
Your IP address has a dot in the end remove and try connecting

1 solution

The error message is pretty specific: the IP address is wrong, or the SQL server on the far end at that IP address is not configured to accept connections from the internet.

Start by checking wherever you got the SQL connection string from, then try to configure a connection in VS using the info with the Server Explorer pane:
1) Open Server Explorer.
2) Right click "Data connections" and select "Add connection"
3) In the dialog that follows, select your DataSource, and database, specify the security info, and press the "Test connection" button.
4) When the connection works, press "OK"
5) Highlight your database in the Server Explorer pane, and look at the Properties pane. A working example of the connection string will be shown, which you can copy and paste into your app or config file.
 
Share this answer
 
Comments
abid zahid 14-May-15 14:04pm    
i am using windows 7 and want to remote my hosting database
thanks for your answer but it not works so please guide me for windows 7
thanks again
OriginalGriff 14-May-15 14:19pm    
Read it again: "...or the SQL server on the far end at that IP address is not configured to accept connections from the internet."

You need to talk to the person who controls the DB...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900