Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

404 Error on Deployment

$
0
0

Hello everyone and thanks for the help in advance.  I'm brand new to .Net core and am just trying to get acquainted with basics.  I am working on Visual Studio 2019 on Windows 10 Professional environment.  I opened a new MVC application and took the default application which runs perfectly fine on the development machine.  I then installed .Net Core 3.1.3 hosting bundle on my Windows Server 2012 R2 running IIS 8.0.  I do not have the server set up for publishing directly to it, so I tried following the tutorial https://docs.microsoft.com/en-us/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-3.1&tabs=visual-studio.  I copied the contents of the bin\Release\netcoreapp3.1 directory into the application root.  I then tried browsing to http://localhost/index, but receive the 404 error.  Seems likely I have the deployment incorrect, but I'm not sure where to go from here.  Any help would be appreciated.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>