title: Web Role internal server error (500.22)
body: <p>When running the Compute Emulator, I am getting the following error when trying to access the web role:</p>
  
  <blockquote>
    <p>HTTP Error 500.22 - Internal Server Error</p>
    
    <p>An ASP.NET setting has been detected that does not apply in Integrated
    managed pipeline mode.</p>
  </blockquote>
  
  <p>Screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/BTLus.png" alt="enter image description here"></p>
  
  <p>The website runs fine itself.  This only occurs when I run it in the emulator.</p>
  
  <p>I found a good answer for <a href="https://stackoverflow.com/questions/7370513/http-error-500-22-internal-server-error-an-asp-net-setting-has-been-detected">500.22 problems here</a>, but surely there must be something wrong with my Azure environment or cloud service?</p>
  
  <p>Thanks</p>