We currently has a page that is used to display a generic error message when errors occur on our website. It has no functionality at all other than displaying a label that m
As a quick-fix, I've found that appending "?" onto the end of the defaultRedirect setting worked for me in removing the aspxerrorpath.
Also, I was getting the same issue with the customErrors settings in system.web, and the same solution worked:
Alternatively, do the same on system.webServer settings: