Please tell me how to resolve this error?
and i want host my site,please tell me How to upload database and how to change connection string in webconfig file.. Its little urgent please reply me the solution.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Posted May 19, 2011, 11:20 PM EDT
Here select the tables,views ,sp and user defined function if any. Save the script into a sql file.
2) Web.config : In the web.config you can see the connectionstring section, there you can give your production database details,
servername, database,username and password details.
Refer : www.connectionstrings.com
3) Once you update the web.config details, build your application and publish into a folder by using visual studio.
4) Copy the published files into your production server. Go to IIS in the Production server , create a web site and map the path to the published files. Check the authentication section once.
5) Run the sql scripts in the sql server.
Moreover, can you post the error details?
Hope this helps.
Periyannan G43 reputationPosted May 20, 2011, 12:13 AM EDT
and I have already deploy asp.net pages not database. i don't have enough knowledge about how to deploy database and change the connection string.
Suthish NairRank #92 · 22.8K reputationPosted May 20, 2011, 12:21 AM EDT
Posted May 20, 2011, 1:03 AM EDT
http://www.connectionstrings.com/Articles/Show/store-connection-string-in-web-config
For database, create the database manually by using SQL Server management studio. Once the db is created, select the database and your database script there.
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted May 23, 2011, 1:13 AM EDT