Click here to Skip to main content
15,881,690 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

I got an error like this.
If you know how to solve it, then tell me quickly please.

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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Posted
Updated 11-Jan-11 2:04am
v2
Comments
Estys 11-Jan-11 9:19am    
You already asked this a few days ago. Has this anything to do with WebParts? Show the connectionstring.

The message tells you that you can't reach the SQL Server.

Checklist:
Is server running?
Is there any firewall related problems?
Do you use the correct connection string?

Regards
Espen Harlinn
 
Share this answer
 
I gave you good answer here 3 days ago. Click this My answer for your question[^]

Did you checked your question? Probably you didn't. why? again you are created another question here. See the above comment by Estys vs your question. If you post duplicate questions then surely people will ignore you. Please don't do that. If you have any doubt regarding the answers then use the 'Add comment' link below the answers.

So acknowledge me by making comment for my answer. Below my answer you can find 'Add comment' link. Let us know the things.
 
Share this answer
 

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