I have a problem in database connection , when i change my project from one directory to another directory.
Or when I install my project from one computer to other . also I have a problem in crystal report connection when i install my project to another computer.
Please send answer urgently.
Problem in database connection
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Vilas GiteRank #951 · 2.1K reputationPosted Sep 10, 2011, 10:44 PM EDT
Hi Suhas!
1) It's a Connection String /path problem so you can store connection string in 'config file'.
Refer: http://www.connectionstrings.com/Articles/Show/store-connection-string-in-web-config
http://msdn.microsoft.com/en-us/library/ms178411.aspx
2) You can change computer name meanwhile Server Name where you can install your project (another PC) same as where from you deployed project… for example (1st PC name server, you can ensure another computer name also server).
Thanks!
----------------------------------------------------------------------
If this reply helps your post…then check "This is correct answer"
suhas chandgude43 reputationPosted Sep 12, 2011, 10:39 AM EDT
It Realy Works for me.