I want to deploy an asp.net web app on my windows 10 pc, it was developed by someone one another computer but am getting the error below
-
Well if you are trying to deploy an ASP.NET MVC web app, you should learn that it by default won't serve "/" and you need to set a view there, stackoverflow.com/questions/1142003/set-homepage-in-asp-net-mvcLex Li– Lex Li2020-04-21 15:08:14 +00:00Commented Apr 21, 2020 at 15:08
Add a comment
|
2 Answers
It seems that you are hosting an application in VS IIS Express instead of IIS. To fix 403.14 for"/" please remember to register index controller for yor web application.
If you wanna host it in IIS, Please install IIS and asp.net module from Windows server->add role and feature.
Then you can create a website and publish release via VS web deployment tool.
Comments
From the error above, it seems that you haven't setup your own default page. Maybe this post cant help you https://windowswebhostingreview.com/troubleshoot-403-error-when-publishing-asp-net-core/
