Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
i am working on (asp.net) VS 2012 and sqlserver 2008r . now if i want to see my project to another computer (with functional database working) where vs 2012 and sqlsever 2008 r2 already installed then do i need to restore my databse in that computer's sqlserver. ? or i can see my project in that computer without it ? some where i see that if i put my db in appcode folder then my project will work as it work in my own computer. i mean functional in my computer with databse.
Posted

1 solution

If you are on the same network then all you need to do is install your application on the other computer, it will be able to connect to your sql server using the same connection string (if you used localhost then change that to the name of your computer).
 
Share this answer
 
Comments
Muhamad Faizan Khan 6-Sep-13 2:32am    
not on a same network.
[no name] 6-Sep-13 3:02am    
You Have Generate Script of Your Database and this script put on another computer.

So same database will be created there.And then

you have to change only PC name in your connection String.
Muhamad Faizan Khan 6-Sep-13 3:10am    
hmm this is true. but i want to get ride of it too.

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