IIS 10 Custom Error Pages Issue-Server.GetLastError() Function Not WorkingRSS

0 replies

Last post May 07, 2020 12:49 AM by BjorgenEatinger

  • IIS 10 Custom Error Pages Issue-Server.GetLastError() Function Not Working

    May 07, 2020 12:49 AM|BjorgenEatinger|LINK

    I built up a custom error page for the 500-100 HTTP error response and found that the Server.GetLastError() function is not returning any data. Everything comes back with a 0, blank, or -1. I've read up on the Internet that this indeed is a known issue, but there isn't a working solution. Please let me know if anybody has a fix for this, which will not interrupt any of our other custom error pages.