简体   繁体   中英

Browsing from IIS my ASP.NET web app gets “error 404 - file or directory not found” when I publish it to Windows Server 2016 on AWS

I built this ASP.NET web app project with Visual Studio 2017. Same project browses locally and by Internet on my old Azure server, just not on new AWS EC2 Windows Server 2016.

I set projects security permissions to "Everyone" full access.

project start file is Default.aspx and that's what is set in IIS > my site > defaults

make sure the application pool has permissions to the site folders. use the application pool name as the user name when setting the permissions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM