Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
when i run the friend's project on mine computer than following error occur:-


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)
please solve them
Posted

I think the error is quite explanatory. To make it more clear, the website is trying to connect to SQL Server (most prob. the connection string should be in web.config). As it can not find the SQL Server on your machine/network it gives you this self explanatory error. Hope this helps!
 
Share this answer
 
Comments
Monjurul Habib 17-May-12 15:56pm    
good advice, my 5+
Manas Bhardwaj 17-May-12 16:01pm    
thanks!
Prasad_Kulkarni 19-Jul-12 1:22am    
Good one! +5
 
Share this answer
 
v2
Comments
Manas Bhardwaj 17-May-12 16:02pm    
+5 to you for the links!
Monjurul Habib 17-May-12 16:08pm    
thanks :)
Wendelius 17-May-12 16:07pm    
Good links
Monjurul Habib 17-May-12 16:09pm    
thank you Mika :)
Sandeep Mewara 27-May-12 1:34am    
5 again!

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