Why i have an error when deploy blazor to IIS

0

I have an issue when i deploy blazor to iis:

error

I searched about this issue and found some ways like: add permission for folder publish,... but it doesn't work. I saw that 0x8007000d is a error about web.config file

this is my web.config

web.config file

I try on other devices. It works.

So why my devices doesn't?. I use Visual Studio 2019, .Net 5.0 and deploy blazor to IIS on Windows 10.

c#
visual-studio
asp.net-core
iis
blazor-server-side
asked on Stack Overflow Mar 11, 2021 by PsyDuck • edited Mar 12, 2021 by samwu

1 Answer

0

Usually, this error indicates that the ASP.NET Core module is not installed on the server. Hosting ASP.NET Core applications on IIS requires the Microsoft ASP.NET Core module. You should confirm that the module is installed:

Install the .NET Core Hosting Bundle.

answered on Stack Overflow Mar 12, 2021 by samwu

User contributions licensed under CC BY-SA 3.0