Click here to Skip to main content
15,665,166 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello ,

I uploaded my website to but I'm getting the error  The network path was not found 
I restart SQL server service and enabled TCP/IP of Protocols of SQLEXPRESS in SQL server network configuration

but I still get the same error when I open my website
<a href="" ></a>

plz I need urgent help

1 solution

Check your connection strings.
What works in development is generally a lot simpler than that in production: LOCALHOST or //MYCOMPUTERNAME as opposed to the name of the live site DB server - and dev setup generally work with windows authorization rather than "proper" login as well , which would be unusual for production kit.

Hopefully, you haven't hard coded them, and it's just a change to web.config...

Here is how I do it: Supporting Development and Release web.config in ASP.NET[^]
Share this answer
وردة الإماراتية 10-Nov-14 4:40am    
I uploaded databases to this host website ( I also changed the connection string in web.config which reference to databases in this website ? but I still get the same error
OriginalGriff 10-Nov-14 4:56am    
What exact connection string did you use in the "live" web.config?
OriginalGriff 10-Nov-14 4:57am    
You can replace the actual userID and password with "*" characters - we don't need them - but leave the "placeholders" in there.

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