Unable to host blazor Webassembly authentication app in IIS

shaker ismaeel 1 Reputation point
2021-08-17T12:39:46.95+00:00

I've created blazor webassembly app :

using visual studio 2019

new project => blazor webAssembly app => Authenticatin type : Individual accounts
checked Asp.Net hosted check box

I did not change anything just used the default template

Its working fine in visual studio and I can register , login and logout successfully

but when hosting on IIS failed with the following error :

Error: Could not load settings from '_configuration/MyWebstie.Client'
at a.createUserManager (http://mywebsiteaut.com/_content/Microsoft.AspNetCore.Components.WebAssembly.Authentication/AuthenticationService.js:1:5887)

Note : I already installed (aspnetcore-runtime-3.1.18-win-x64.exe) and (urlrewrite2.exe)

Any help please, I am stuck on this

Internet Information Services
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,594 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.