PsyDuck
PsyDuck

Reputation: 99

Why i have an error when deploy blazor to IIS

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.

Upvotes: 1

Views: 1613

Answers (1)

samwu
samwu

Reputation: 5235

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.

Upvotes: 1

Related Questions