Server Error in '/' Application Web.config

Imtiaz Sami 1 Reputation point
2022-08-04T18:02:00.54+00:00

HI
I need this problem solution. If anybody have this solution then pls reply to it.

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>

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>

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,118 questions
{count} votes

9 answers

Sort by: Most helpful
  1. Blog Labs 6 Reputation points
    2022-08-04T21:46:57.887+00:00

    CDN-af.feednews.com is a web-based feed aggregator that aggregates and distributes content from over 1,000 RSS, and Atom feeds. The content is subsequently displayed on the website in a user-friendly way.
    https://bloglabs360.com/the-best-news-website-ever-cdn-af-feednews-com/

    1 person found this answer helpful.
    0 comments No comments

  2. Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
    2022-08-05T07:39:42.003+00:00

    Hi @Imtiaz Sami ,

    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".

    This error means that your application has crashed, but the server cannot show you the exact error because customErrors is not "closed".
    To understand the error, you can execute <customErrors mode="Off" /> as described in the error message.
    Best regards,
    Lan Huang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  3. Tareq Jaker 5 Reputation points
    2023-04-17T19:17:00.59+00:00
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <location path="." inheritInChildApplications="false">
        <system.webServer>
          <handlers>
            <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
          </handlers>
          <aspNetCore processPath="dotnet"
                      arguments=".\MyApp.dll"
                      stdoutLogEnabled="false"
                      stdoutLogFile=".\logs\stdout"
                      hostingModel="inprocess" />
        </system.webServer>
      </location>
    </configuration>
    
    1 person found this answer helpful.
    0 comments No comments

  4. 2023-04-18T10:54:16.9866667+00:00
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <location path="." inheritInChildApplications="false">
        <system.webServer>
          <handlers>
            <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
          </handlers>
          <aspNetCore processPath="dotnet"
                      arguments=".\MyApp.dll"
                      Stipulated="false"
                      Struggled=".\logs\stdout"
                      Hosting Model="Dev roy" />
        </system.webServer>
      </location>
    </configuration>
    
    1 person found this answer helpful.
    0 comments No comments

  5. 2023-04-18T10:54:46.46+00:00

    Nahh aloa smsind sksoks

    1 person found this answer helpful.
    0 comments No comments