When I want to just simply open an application's web.config file (IIS 7.5, Windows 7 x64) or make some changes to it using PowerShell commands, which not necessary has to do anything with the 'protocolMapping' section, the following error is thrown: "Error: The configuration section 'protocolMapping' cannot be read because it is missing a section declaration".
The exact same commands are working perfectly on IIS 8, but I need this to work in IIS 7.5 too. What can be the problem?
Things I've already tried, and do NOT solves the problem:
- the applicationPool's framework, under the application is running, is set to v4.0
- also the DefaultAppPool is set to v4.0 framework (however the application has a separate applicationPool)
[UPDATE]
This error comes up on multiple machines, running Windows 7 (32 and 64 bit too), even on a fresh install of Windows 7.