It sure would be handy if on importing a web package into IIS, that deploy would use the connection string that must be entered on the 'Import Application Package' page. It seems that the connection string that is used is the one that you enter in VS on
teh Package/Publish SQL tab. This is not useful to me when I have to deploy a site to multiple customers having different connection strings. Is there any way to force IIS to use the other connection string?
mbnewmedia
Member
5 Points
35 Posts
Connection string used for deployed database scripts
Jun 08, 2012 08:52 PM|LINK
It sure would be handy if on importing a web package into IIS, that deploy would use the connection string that must be entered on the 'Import Application Package' page. It seems that the connection string that is used is the one that you enter in VS on teh Package/Publish SQL tab. This is not useful to me when I have to deploy a site to multiple customers having different connection strings. Is there any way to force IIS to use the other connection string?
Thanks, Mike
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: Connection string used for deployed database scripts
Jun 15, 2012 08:27 AM|LINK
Hi
You can refer to Walkthrough: Deploying a Web Application Project Using a Web Deployment Package
Hope it helpful.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework