locked
What causes web.config files to be modified by system RRS feed

  • Question

  • I often notice that web.config files on my servers show a more recent modified date then last altered.

    They never are really altered but the date is recent

    What causes this to happen what events can trigger this, what causes the web.config to get the system generated backup file.

     

    Monday, October 10, 2011 10:05 PM

Answers

  • As far as I know, it will be changed only if there is something in the solution that updates the web.config.
    • Marked as answer by Seven M Thursday, October 20, 2011 1:24 AM
    Tuesday, October 11, 2011 6:25 PM

All replies

  • Deploying/Retracting any solutions that needs to update the web.config file (e.g custom webpart) will create a backup file and change the web.config. Feature activation/deactivation can also change the web.config file if the feature needs to update the web.config file.

    Tuesday, October 11, 2011 2:17 PM
  • What about global solution depoyment?

    Does the solution specifically have to be built to change the web.config  for this to happen or can this be done by Sharepoint.

    Tuesday, October 11, 2011 4:51 PM
  • As far as I know, it will be changed only if there is something in the solution that updates the web.config.
    • Marked as answer by Seven M Thursday, October 20, 2011 1:24 AM
    Tuesday, October 11, 2011 6:25 PM