EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

How to Prevent Version Information for Microsoft .Net Framework and Asp.Net from Being Exposed When Getting a Server Error in a Browser


Community Admin

• Strategy


This article describes how users can modify the web.config file to suppress version information for Microsoft .NET Framework and ASP.NET.

Description

When users receive a server error in the browser, the version information is exposed for Microsoft .NET Framework and ASP.NET.

ka04W000001IwwdQAC_0EM2R000000mDcK.jpeg

Solution

  1. Open the web.config file located at C:\Program Files (x86)\Strategy\Web ASPx\web.config.
  2. Locate the following line:
    
    <customErrors mode="Off"/>

  3. Change it to the following:
    
    <customErrors mode="RemoteOnly" />

  4. Save the file and restart IIS for the changes to take effect.

Comment

0 comments

Details

Knowledge Article

Published:

September 30, 2019

Last Updated:

September 30, 2019