IIS 7 and Above
404 when trying to access aspx on IIs
Last post Jan 08, 2018 03:25 AM by Yuk Ding
Jan 06, 2018 09:27 PM|Canadian Jimmy|LINK
Signed up for the free tier on Amazon webservices. Installed an EC2 Instance using window server 2016. Enabled IIs.
Static pages work fine but for some reason when I try to access aspx pages I get a 404.
Jan 06, 2018 11:17 PM|lextm|LINK
ASP.NET is not installed by default, if you just click Next multiple times.
Go to Server Manager and enable the necessary role services please.
Jan 07, 2018 12:46 AM|Canadian Jimmy|LINK
Yup. That was it. Added. 4.6 and worked like a charm. Thanks for the help.
Jan 08, 2018 03:25 AM|Yuk Ding|LINK
Have you fixed this issue? I think it should be fixed by adding the asp.net feature under IIS Application Development feaytre in add role and feature not .net framework.
If you have fixed this issue, it would be appreciated if you could mark lex's reply as answer.