• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Send detailed error to client-side for 500 errors with ASP.NET

kelmore5

New Pleskian
Server operating system version
Windows Server 2019
Plesk version and microupdate number
18.0.68 Update #2
Hello,

I am trying to send detailed error information to the client-side when 500 errors occur on my Plesk managed site. Basically, whenever a 500 error occurs on my site, it displays the error message:

An error occurred on the server when processing the URL. Please contact the system administrator.

If you are the system administrator please click here to find out more about this error.

and I want that error message to show the "full detailed" error instead.

I've seen other threads discussing how to do this using previous versions of Plesk / Classic ASP, but not much on how to do it for newer versions with ASP.NET. Here are the settings I've changed to try to enable detailed errors:
  1. In ASP.NET settings, I set "Custom error mode" to "Off" (link)
  2. In Virtual Directory > Error Documents, I set each error type to "Default" (link)
  3. Editing the web.config file, I added the lines
    ASP.net:
    <customErrors mode="Off" />
    and
    ASP.net:
    <httpErrors errorMode="Detailed" />
    (link)
However, I'm still not getting the full detailed error message to show up on the client-side. I've also seen mentions of a "Send Errors to Browser" setting (link). I'm assuming that doesn't apply to my version (seems to be for ASP Classic) because I can't find that setting on my installation.

Is there anyway to enable this setting on newer versions of Plesk / ASP?

Thanks

Server: Windows Server 2019
Plesk Version: Plesk Obsidian Web Admin Edition 18.0.68 Update #2
ASP Version: 4.8.0
 
Back
Top