« Previous Next »

Thread: bug: after changing configuration it damages web.config

Last post 03-28-2007 3:37 PM by ApurvaJoshi. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 03-28-2007, 11:13 AM

    • alenas
    • Not Ranked
    • Joined on 08-17-2005, 6:35 AM
    • Lithuania
    • Posts 1

    bug: after changing configuration it damages web.config

    If I change website configuration through IIS Manager and APPLY changes, then web.config file will loose some values.

    For example, I have some custom sections in my web.config and some .net 2.0 configuration sections:

     <applicationSettings>
      <SC.Sendum.PT200.Properties.Settings>
       <setting name="SC_PT200_TscSms_SendSmsService" serializeAs="String">
        <value>SOME VALUE</value>
       </setting>
      </SC.Sendum.PT200.Properties.Settings>
    ...
    </applicationSettings>

    if i open IIS Manager and change Default Document for this website and click APPLY. Then web.config will be saved, but values will be lost for some items:

     <applicationSettings>
      <SC.Sendum.PT200.Properties.Settings>
       <setting name="SC_PT200_TscSms_SendSmsService" serializeAs="String">
        <value></value>
       </setting>
      </SC.Sendum.PT200.Properties.Settings>
    ...
    </applicationSettings>

    Running Vista Business RTM

  • 03-28-2007, 11:31 AM In reply to

    • ksingla
    • Top 25 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 863

    Re: bug: after changing configuration it damages web.config

    Hello Alenas. I am able to reproduce the bug on my machine. Looks like the bug is in the underlying configuration system and not in IIS Manager. I get the same behavior when I change a property using appcmd.exe or WMI. I will follow up on this in the team. Thanks for reporting.
    Follow me on twitter at http://twitter.com/kjsingla
  • 03-28-2007, 3:37 PM In reply to

    Re: bug: after changing configuration it damages web.config

    This issue has been reported before 

    http://forums.iis.net/1481283/ShowThread.aspx#1481283

    We have worked on the fix for this and it should be out soon.

    Thanks,

    AJ

     

Page 1 of 1 (3 items)
Microsoft Communities