none
The configuration section 'standardEndpoints' cannot be read because it is missing a section declaration RRS feed

  • Question

  • environment:  winserver2008  iis7.5

    - Open Powershell on the affected machine
    - Enter the following:
    import-module webadministration
    - Enter the following:
    set-location IIS:\Sites\<thenameofyourwebsite>
    - Enter the following:
    Get-WebConfigFile
    You'll receive an error message - but instead of the generic "something's wrong" you get with appcmd, you'll get something useful.  In my case, I received this:
    Error: The configuration section 'standardEndpoints' cannot be read because it is missing a section declaration

    Sunday, December 14, 2014 2:53 PM