Hi All ,
I have a problem .
I can't able to change the connectionstring dynamically in the web.config after creating the MSI .
Regards
Satish Kumar
Hi All ,
I have a problem .
I can't able to change the connectionstring dynamically in the web.config after creating the MSI .
Regards
Satish Kumar
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Apr 8, 2009, 1:09 PM EDT
Check out the below link
http://forums.asp.net/t/1266910.aspx
Thanks -- Vijaya Kadiyala
>> For SQL Server and .Net Beginers
www.DotNetVJ.Com
satish kumar24 reputationPosted Apr 8, 2009, 11:12 PM EDT
thanks for reply.
still i didnt get solution plz send step by step solution.
ok bye.
regards,
satish kumar
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Apr 9, 2009, 8:28 AM EDT
You can't modify the web.config after creating the msi file.
Thanks -- Vijaya Kadiyala
www.DotNetVJ.Com
satish kumar24 reputationPosted Apr 15, 2009, 1:44 AM EDT
thanks for reply
After creating msi it should be change the dynamically connection string.plz find out any ur friends.ok bye.
regards,
satish kumar
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Apr 20, 2009, 11:05 AM EDT
Hi Satish,
As mentioned in my previous post, you can't change the connection string once MSI file is created.
If you can tell us what you are trying to then we would be able to assist you in better way or look for an alternative solution.
Thanks -- Vijaya Kadiyala
www.DotNetVJ.com
joakim wireen46 reputationPosted Apr 28, 2009, 12:31 AM EDT
Why do you need to have the con. string in the config file when you want it to be dynamic? :S Put it in a class in app folder