title: HTTP Error 500.24 - Internal Server Error An Asp.NET setting has been detected that does not apply in Integrated managed pipeline mode
body: <p>I have webpage which has gridview, one of the columns will have a image. When clicked on image it will open the PDF saved on the web server. It was working fine but I am getting below error </p>
  
  <p>"HTTP Error 55.24 - Internal Server Error  An Asp.NET setting has been detected that does not apply in Integrated managed pipeline mode."</p>
  
  <p>I googled and did as suggested  in <a href="https://stackoverflow.com/questions/7370513/http-error-500-22-internal-server-error-an-asp-net-setting-has-been-detect">HTTP Error 500.22 - Internal Server Error (An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.)</a> made sure application pool is classic and webconfig is correct but still I am getting that error when clicked on image which has to open the saved PDF... please help....</p>
  
  <p><img src="https://i.stack.imgur.com/j1c1J.png" alt="enter image description here"></p>