'standardEndpoints' cannot be read because it is missing a section declaration

Hi,

Error: The configuration section ‘standardEndpoints’ cannot be read because it is missing a section declaration
is being thrown when deploying the application to server. Found couple similar posts, but none of them gave me the answer how to solve this problem.

Octopus v2018.2.3
Server info:
Windows server 2008 R2
.Net framework 4.7.1 installed
All app pools are set to .Net 4.0

Btw, the deployed application works fine.

Hi,

At what point does this message appear? Could you share an excerpt from the raw deployment log showing that execution of that step?

Do any of the config or transform files in your project contain a section named standardEndpoints? Also check the hierarchy of IIS configuration files (eg the machine one).

The message indicates that the an entry for standardEndpoints needs to be added to the configSections element.

Rob W

Hi Rob,

thanks for reply. Adding standardEndpoints to configSections solved my problem!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.