I am able to run the ASP.NET MVC application from Visual Studio 2022 (on .NET 4.7.2) on my machine. I created a publish to the local directory and copied the publish into the client machine which is a server running Win 2019 Std.
I have enabled the .NET Extensibility 4.7, ASP.NET 4.7 for my IIS 10 on the Win 2019 Std server. I have also provided full access to IUSR
and IIS_IUSRS
to the publish folder on the server. Disabled the default web site on IIS.
I have searched and followed the instructions provided in IIS 10 on Win 2016. I have also added entry into the hosts file.
However, when I try to browse the application in says 404 error.
Please help me with this problem.