问题:部署 Blazor 到 IIS 服务器时出现问题。

huangapple go评论65阅读模式
英文:

Problem with deploying Blazor to iis server

问题

我创建了一个简单的Blazor WASM项目,并在[附加信息]步骤中,我只选择了[配置为https],然后我将项目发布到IIS服务器,但在运行发布项目的网站浏览器时,我收到了一个错误消息 "HTTP错误 500.19 - 内部服务器错误"。

我尝试寻找解决此问题的方法,但没有找到。

你有什么想法吗?请告诉我方法。谢谢。

英文:

I created a simple Blazor WASM project and in [Additional information] step, I selected only [Configure for https] and then I published the project into IIS SERVER, but when running website browser of the publishing project, I got an error "HTTP Error 500.19 - Internal Server Error".

I tried to find for fixing the issue but cannot.
Do you have any ideas? please show me the way. thanks

答案1

得分: 1

你应该在IIS服务器上安装URL rewrite2模块.NET Core Hosting Bundle

有关更多信息,您可以参考如何在Internet Information Services (IIS)上部署Blazor应用程序

英文:

You should install URL rewrite2 module and The .NET Core Hosting Bundle on the IIS server.

For more info, you can refer to How to deploy a Blazor Application on Internet Information Services (IIS)

huangapple
  • 本文由 发表于 2023年2月27日 11:00:23
  • 转载请务必保留本文链接:https://go.coder-hub.com/75576436.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定