Setting HAP Application Permissions web.config Error - Line 242
I'm installing HAP onto a vanilla Server 2008 (N.B. Not R2) server with freshly installed .NET4 and IIS7.
The instructions are very comprehensive, but unfortunately I've encountered a problem. When I've reached the stage "28. Double Click on IIS Authentication" I'm getting an error (picture attached).
EDIT - post count not high enough to post the attachment. I'll post back with it shortly.
For future searchability it reads as follows:
There was an error while performing this operation,
Line number: 242
Error: The configuration section 'standardEndpoints' cannot be read because it is missing a section declaration
I've searched t'internet and found some evidence referring to "nested .NET 2.0 applications" but this isn't the case - all App pools (inc. DefaultAppPool) are configured to use version 4.
EDIT - links not allowed either, sheesh!
I'm more familiar with unix these days, and hence a little out of my depth with IIS7 - could anybody suggest what my problem might be?
N.B. I'm aware that step 21 isn't possible with my version of Windows as the IIS App Pool doesn't show up in the user browser, hence I ran icacls c:\inetpub\wwwroot /grant "IIS APPPOOL\HAP":(OI)(CI)(RX) and added the permissions afterwards.
Thanks in advance.