How to remove the version information from error screen in ASP.NET ?




 Here is the code you will write and change your old codes in your application web.config

<system.web>
    <httpRuntime enableVersionHeader="false" targetFramework="4.5" />
    <compilation debug="true" targetFramework="4.5"/>
</system.web>

Any input on above is greatly appreciated...

Post a Comment

0 Comments