Question

When running the Compute Emulator, I am getting the following error when trying to access the web role:

HTTP Error 500.22 - Internal Server Error

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

Screenshot:

enter image description here

The website runs fine itself. This only occurs when I run it in the emulator.

I found a good answer for 500.22 problems here, but surely there must be something wrong with my Azure environment or cloud service?

Thanks

Was it helpful?

Solution

For now I am circumventing this problem with the follow web.config change:

<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
</system.webServer>

It is not the optimal solution. More about this here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top