IIS 7 and Above
"HTTP Error 404.17 - Not Found" when I try to open a .aspx file
Re: "HTTP Error 404.17 - Not Found" when I try to open a .aspx file
Apr 11, 2019 09:43 PM|mbrooks2k3|LINK
The reply was a bit hard to read, and the word "obviously" (sic) stings a little, but it was on target. I ran into the issue while installing IIS on an Azure Windows Server 2016 VM.
For Server 2016, there are checkboxes within 'Server Manager Add Roles or Features' for .Net Framework 3.5 and 4.6 and ASP.Net 3.5 and 4.6 (two of the latter), a total of 5 checkboxes (unless I missed one again when I reviewed the dialogs):
A. Server Roles -> Web Server (IIS) -> Web Server -> Application Development
Check ASP.Net 3.5 and ASP.Net 4.6
B. Features -> .Net Framework 3.5 Features
Check .Net Framework 3.5
C. Features -> .Net Framework 4.6 Features
Check .Net Framework 4.6 and ASP.Net 4.6
There are other dependencies, but they are added automatically if missing (if you accept them), when you add these options.
At this point I'm no longer certain which one I left out, but it might have been the ASP.Net 4.6 checkbox in Features. I vaguely remember that it may not have been visible (due to scrolling or option expansion) when I was initially doing the install, but
I can't reproduce that now.