web.config connection string db details from deploymentof web project

G

geethan_s

i have created a custom db installer to deploy my project db details where i assign the server name, dbname, user name, pwd all i set when deploy and my script also. its working fine.

my concern is , this may be(server and database details) different when i install in different servers. in that situation, every time i need to modify manually my web.config file (connection string) based on the databse details.

how can i set these connction string (database, servre, username) get automatically the infos which i set during deployment?.
 
V

Vadym Stetsyak

Hello, (e-mail address removed)!

gsc> my concern is , this may be(server and database details) different
gsc> when i install in different servers. in that situation, every time i
gsc> need to modify manually my web.config file (connection string) based
gsc> on the databse details.

You need to have UI form where, person, who installs the package, will input db server infomarmation. Then in the install sequence you will put that values into web config

gsc> how can i set these connction string (database, servre, username) get automatically the infos which i set during deployment?.

Can you be more specific on that?
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top