I programmed a custom HTTPModule through implemnting IHttpModule interface.Then i registered it in web.config file
<configuration>
  <system.web>
    <httpModules >
      <add name="AuthHttpModule" type="AuthHttpModule" />
    </httpModules>
  </system.web>
</configuration>
but it's throw an error when i try to access any page
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
Note: I'm using VS2012 and C#.
 
     
    