View Single Post
 
Old March 14th, 2014, 10:30 AM
essy_3 essy_3 is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Deployment: no connection string in config?

Hello,

I am using the built-in log in controls in my asp.net 4.5 website; I have executed my tables (SQL) to my database from within SQL Management Studio. However, there does not seem to be a connection string in the web.config file yet the local version of the website runs fine. When I access the URL of the server online and try to create an account or log in on the website, instead of redirecting me upon success to the main menu page it throws up an error 404. I have inserted a new connection string in the web.config file under the <clear /> tag but it doesn't seem to be recognising my connection string. How can I edit the current connection string if there isn't one in the web.config file?

Thanks,

Imran