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

I tried to deploy my ASP.NET web application on localhost in which i am successful.
This application also has database integration with it, you know for logging in and getting some data from the sql server. Now how can I integrate my sql server database with deployed app??

Thanks in Advance.
Posted
Updated 14-Mar-11 3:12am
v2

 
Share this answer
 
v2
Comments
Wild-Programmer 14-Mar-11 10:03am    
Awesome link :) my +5
AmbiguousName 14-Mar-11 10:06am    
Thanx for the answer but I dont think I got Step 3 properly. Any help on that plz.
When you deploy the application. App_Data folder with content also gets copied to localhost folder. You need to update the Web.Config of your application with the correct path of Database.

For connection strings, you can refer to http://www.connectionstrings.com/[^]

Good luck.
 
Share this answer
 
Comments
AmbiguousName 14-Mar-11 10:09am    
hi...I have a connection established to sql database (it shows in the Server Explorer) but I dont see any data in the mentioned folder (even without delpoying it).

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