简体   繁体   English

将ASP.NET Core应用程序本地部署到IIS后出现错误500.21

[英]Error 500.21 after deploying ASP.NET Core app locally to IIS

I seem to be having noob level errors here Publishing an ASP.NET app locally. 我似乎在这里没有菜鸟级错误,在本地发布ASP.NET应用程序。

The site is: 该站点是:

I'm just trying to test settings here on my local machine before seeing how it works on another machine but perhaps I'm missing something? 我只是想在本地计算机上测试设置,然后再查看它在另一台计算机上的工作方式,但是也许我遗漏了什么? Everything I've read I can on the subject and simply can't seem to get this going - any step-by-step walkthroughs about doing this? 我已经读过的所有内容,但似乎都无法解决-有关此操作的分步演练?

在此处输入图片说明

In my case, the answer was staring me right in the face - I was missing the AspNETCore Module . 就我而言,答案正直盯着我-我缺少了AspNETCore模块 I thought I had it when enabling everything else with IIS but apparently, I didn't. 我以为在使用IIS启用其他所有功能时都拥有了它,但是显然没有。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在IIS 8上部署后,Asp.net应用程序给出错误 - Asp.net application giving error after deploying on IIS 8 在IIS上部署ASP.NET WebApplication时出错 - Error deploying ASP.NET WebApplication on IIS ASP.NET Core 2.1 App在本地构建和运行成功,但无法通过Web Deploy发布到IIS - ASP.NET Core 2.1 App succeeds in Building and Running Locally but fails to Publish to IIS via Web Deploy 每次启动ASP.NET Core MVC应用程序时出现IIS错误 - IIS error with every launch of an ASP.NET Core MVC app 将ASP.NET MVC应用程序部署到IIS时的问题 - Issues when deploying asp.net mvc app to iis 部署 ASP.NET Core Docker 项目 - 收到 405 错误(在我的 IIS 本地,Web 请求有效)。 如何解决? - Deploy ASP.NET Core Docker project - get a 405 error (locally in my IIS, web requests works). How to fix it? ASP.NET核心部署应用程序失败 - ASP.NET Core Deploying App Fails with Apache 使用 Web Deploy 在 Azure 中部署普通的 ASP.NET Core 2.2 Web 应用程序引发错误 - Deploying a plain ASP.NET Core 2.2 Web App in Azure using Web Deploy is throwing an error Web 将 ASP.Net Core 部署到 ISS 后的开发模式错误 - Development Mode Error after web deploying ASP.Net Core to ISS IIS上的ASP.NET Core应用-错误堆栈跟踪记录在哪里? - ASP.NET Core app on IIS - where are the error stack traces logged?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM