[英]How do i setup an asp.net web app on a windows iis
It seems that you are hosting an application in VS IIS Express instead of IIS.您似乎在 VS IIS Express 而不是 IIS 中托管应用程序。 To fix 403.14 for"/" please remember to register index controller for yor web application.
要为“/”修复 403.14,请记住为您的 web 应用程序注册索引 controller。
If you wanna host it in IIS, Please install IIS and asp.net module from Windows server->add role and feature.如果您想在 IIS 中托管它,请安装 IIS 和 asp.net 模块从 ZAEA23489CE3AACDA40B6406EBB28E 服务器和功能。0CDA40B6406EBB28E
https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-an-aspnet-website-on-iis/configuring-step-1-install-iis-and-asp-net-modules https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-an-aspnet-website-on-iis/configuring-step-1-install-iis-and-asp-net-模块
Then you can create a website and publish release via VS web deployment tool.然后您可以通过 VS web 部署工具创建网站并发布发布。
https://docs.microsoft.com/en-us/aspnet/web-forms/overview/deployment/visual-studio-web-deployment/deploying-to-iis https://docs.microsoft.com/en-us/aspnet/web-forms/overview/deployment/visual-studio-web-deployment/deploying-to-iis
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/
也许这篇文章不能帮助你https://windowswebhostingreview.com/troubleshoot-403-error-when-publishing-asp-net-core/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.