<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Configuration &amp; Scripting</title><link>http://forums.iis.net/1046.aspx</link><description>Forum aimed at understanding the system.Webserver or system.ApplicationHost using a text editor or scripting</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Cannot update web.config file in IIS 7.0 programatically</title><link>http://forums.iis.net/thread/1888973.aspx</link><pubDate>Mon, 05 Jan 2009 03:10:11 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888973</guid><dc:creator>Leo Tang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1888973.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1888973</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I’d suggest you run FileMon to check the access of Web.config file to see if there are any clues about access denied error by reproducing the problem.&lt;br /&gt;You can get FileMon from below link:&lt;br /&gt;&lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx"&gt;http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Cannot update web.config file in IIS 7.0 programatically</title><link>http://forums.iis.net/thread/1888598.aspx</link><pubDate>Tue, 30 Dec 2008 05:49:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888598</guid><dc:creator>shashidharjk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1888598.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1888598</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We are using Classic &amp;nbsp;Pipeline mode.&lt;/p&gt;
&lt;p&gt;We are creating Application Pool and virtual directories using a&amp;nbsp;C# console application.&lt;/p&gt;
&lt;p&gt;In the web.config we have a section called &amp;lt;appSettings&amp;gt; where we have our Web Service specific values held. These values are updated while the installation by reading from registry through Install Shield.&lt;/p&gt;
&lt;p&gt;There are no errors are displayed nor&amp;nbsp;logged in the Event Viewer.&lt;/p&gt;
&lt;p&gt;We are able to update the Web.config file if we can run the&amp;nbsp;component manually.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The updation&amp;nbsp;works fine when we have this web.config file in any other path than C:\Inetpub\wwwroot through the Install Shield.&lt;/p&gt;
&lt;p&gt;Hope this information will give you a clear picture of the problem we are facing.&lt;/p&gt;
&lt;p&gt;Hoping for a positive response from you.&lt;/p&gt;
&lt;p&gt;Thanks and regards&lt;/p&gt;
&lt;p&gt;Shashidhar J K&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Cannot update web.config file in IIS 7.0 programatically</title><link>http://forums.iis.net/thread/1888532.aspx</link><pubDate>Mon, 29 Dec 2008 16:40:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888532</guid><dc:creator>jeff@zina.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1888532.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1888532</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;shashidharjk:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;This works very fine with IIS 6.0, but not with IIS 7.0 in Windows Server 2008 32bit.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;How do you know it doesn&amp;#39;t work?&amp;nbsp; Error messages, log entries, anything?&amp;nbsp; Which pipeline, what componet in the web.config, can you change the settings manually?&lt;/p&gt;
&lt;p&gt;Any information you can provide is far better than just telling us it doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;</description></item><item><title>Cannot update web.config file in IIS 7.0 programatically</title><link>http://forums.iis.net/thread/1888519.aspx</link><pubDate>Mon, 29 Dec 2008 12:32:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888519</guid><dc:creator>shashidharjk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1888519.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1888519</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have a Web Service which I deploy in the IIS using some component from Install Shield. There are few configuration settings which I update using a component within the Web.config file after the installation is done. This works very fine with IIS 6.0, but not with IIS 7.0 in Windows Server 2008 32bit.&lt;/p&gt;
&lt;p&gt;Please can anyone throw some light on this as I am really stuck badly at this point.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Shashidhar J K&lt;/p&gt;</description></item></channel></rss>