web.config connection string db details from deploymentof web project

  • Thread starter Thread starter geethan_s
  • Start date Start date
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?.
 
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
 
Back
Top