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

  • Thread starter Bjorgen Eatinger
  • Start date
B

Bjorgen Eatinger

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. This is actually on Windows Server 2019. I did not see a category for Windows Server anywhere, so had to post this under Windows 10.

Continue reading...
 

Similar threads

B
Replies
0
Views
30
Brett Barazoto
B
S
Replies
0
Views
16
Sahil R Gadhia
S
H
Replies
0
Views
41
HotChipZ36
H
Back
Top Bottom