Windows 10, IIS 10, Classic ASP, .NET v2.0 Classic
Custom 404 Error pages that have been working on my test machine for years, with Windows 7, no longer work within Windows 10's IIS. I set everything up in IIS Error Pages.
This is my code from the web.config file.
<httpErrors errorMode="Custom" defaultPath="/MyDomain.org/error/404.asp" defaultResponseMode="ExecuteURL"> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" path="/MyDomain.org/error/404.asp" responseMode="ExecuteURL" /> </httpErrors>
This is a virtual site, within IIS, so the domain name has to be present. It does not work. I load the page, and the only thing I get is.
This 192.168.2.12 page can’t be found
No webpage was found for the web address: http://192.168.2.12/ask/ASP_Classic/
I need to test these pages for an update to our site. Any idea's on what has changed in IIS 10, that would have caused the 404 Pages to no longer work?