IIS Manager 7 Basic Authentication setting keeps getting erased

Discussion in 'Windows / IIS' started by SparkleMuncher, Jul 31, 2009.

  1. Doing testing I Upload a site, Disable Basic Authentication through IIS Manager 7, site runs. I erase all content on the server, reupload and Basic Authentication is automatically reenabled and I have to disable Basic Authentication again... Why? Can this be fixed? I disabled it, it should stay disabled? No?
     
  2. ...The updates you make with the IIS7 Manager are saved in your root web.config
    There is a Backup feature in there you can use to preserve the settings.
    The backup is also saved in the root.
    So...next time, make sure you preserve your root web.config and the backup if you created one.
    All the best,
    Mark
     
  3. Mark,

    Thanks. That was a big help.

    For anyone who may want to correct the issue.

    Add to the Web.Config:

    <system.webServer>
    <security>
    <authentication>
    <basicAuthentication enabled="false" />
    </authentication>
    </security>
    </system.webServer>
     
  4. Thanks Sparkle. That was driving me crazy.
     

Share This Page