Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Hi all,

I developed new website using asp.net membership for create new accounts

register page run successfully on local machine and new user created , but when I host website ( free hosting on somee.com ) then I can not create new user account , and I get this exception

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 help me :(
Posted
Updated 2-May-17 18:32pm

1 solution

 
Share this answer
 
Comments
ocean99 12-Feb-14 1:49am    
I really checked all 7 things , the exception is still appear
The free hosting site must be having some limitations. Please contact their official support team or post a query in their forum.
ocean99 12-Feb-14 2:18am    
what about web.config file ? I think if I modify it may resolve problem , but how ?
In web.config you have to provide correct ConnectionString, which you are using to connect to Database in code. Refer the point number 3 in that link.

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