By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,558 Members | 1,373 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,558 IT Pros & Developers. It's quick & easy.

machine.config in Web Setup Project

P: n/a
Hello.

Is there anybody who knows how I can change som information in the
machine.config in a deployment project for a web application?

Do I have to change replace the file with a new (and how do I do that
in that case) or can you programmatically change som xml-"records"?
Grateful for any response and tips.
The Duke
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
the machine config file is just an ordinary file. you can parse it with a
simple file object or one from the xml closet of goodies. depending on what
you touch, you will need iis to reset before settings take effect. Why do
you want to mess with machine config file programmatically? this file
affects the applications running on the server and not just your new
application

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Fredrik Celin" <fr***********@bilia.se> wrote in message
news:fb**************************@posting.google.c om...
Hello.

Is there anybody who knows how I can change som information in the
machine.config in a deployment project for a web application?

Do I have to change replace the file with a new (and how do I do that
in that case) or can you programmatically change som xml-"records"?
Grateful for any response and tips.
The Duke

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.