server Error

Corey Voggesser 0 Reputation points
2025-01-11T18:56:07.7966667+00:00

Server Error in '/' Application.


Runtime Error

__Description:__An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. __Details:__To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

|<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>| | -------- | |<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>|

__Notes:__The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

|<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>| | -------- | |<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration>|

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,959 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,544 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,422 questions
Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
506 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tasadduq Burney 8,681 Reputation points MVP
    2025-01-13T10:18:57.3033333+00:00

    Hello Corey Voggesser!

    Welcome to Microsoft QnA! Hope you are doing well! 😊

    The error you're encountering typically occurs when the application settings prevent detailed error messages from being viewed remotely for security reasons. To troubleshoot this issue, you can modify the web.config file located in the root directory of your web application.

    To view detailed error messages remotely, you can change the <customErrors> tag in your web.config file as follows:

    
    <configuration>
    

    This will disable custom error pages and allow you to see the details of the error. However, be cautious when using this setting in a production environment, as it could expose sensitive information.

    If you'd prefer to show a custom error page instead of the default error page, you can use the defaultRedirect attribute like this:

    <configuration>
    

    This will show the custom error page when an error occurs remotely.

    Let me know if this helps or if you need further assistance! 😊

    P.S If I am able to help you, do mark it as accepted answer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.