• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Issue No Error is displayed in Browser

modit

New Pleskian
Server operating system version
Windows server 2022
Plesk version and microupdate number
18.0.75
Hi i am using Plesk Obsidian 18.0.75 , i am hosting few asp.net applications.


Issue i am facing is that if page has any error the page comes blank in the browser, instead of showing any error message.


Also if i request a page which is not there in the server it shows blank page instead of 404 error page.
 
If you're using ASP.NET Core, the <compilation debug=true will be ignored. You could try to use the following instead.

XML:
  <system.webServer>
    <!-- Force IIS to send detailed errors to the browser -->
    <httpErrors errorMode="Detailed" />

    <!-- Optional: Disable static file error interception -->
    <asp scriptErrorSentToBrowser="true" />
  </system.webServer>

If it still doesn't work you will probably need to configure your program.cs or startup.cs with proper error handling so it shows it.

Ideally you should be looking at the logs anyways or doing logging in remotely for checking the error as it's more secured that way since ASP can leak private info in the errors if it's on a production system.

For the 404, again it depends if you're using ASP.NET Core or not. You could do something like this:

XML:
<configuration>
  <system.web>
    <customErrors mode="On" defaultRedirect="Error.aspx">
    </customErrors>
  </system.web>

  <system.webServer>
    <httpErrors errorMode="DetailedLocalOnly">
      <remove statusCode="404" subStatusCode="-1" />
    </httpErrors>
  </system.webServer>
</configuration>

Now if you are using ASP.NET Core, you'll need to have error handling in your program.cs or startup.cs.
 
Back
Top