0

I have created a simple Blazor wasm hosted web application, using .net 5.0 I enabled authentication - using the default .sqlite database. This all works fine when debugging the application locally.

However, when I try and host the published server project I get this error:

AuthenticationService.js:1 GET https://MYDOMAINNAME.co.za/_configuration/ProjectTest.Client 404

Hosted on my domain with ssl (pfx) certificate in place:

enter image description here

Locally

enter image description here

enter image description here

enter image description here

DataWrangler1980
  • 183
  • 3
  • 13
  • "IdentityServer": { "Clients": { "ProjectTest.Client": { "Profile": "IdentityServerSPA" } }, "Key": { "Type": "File", "FilePath": "cert.pfx", "Password": "password" } – DataWrangler1980 May 06 '21 at 20:44
  • i tried to add the pfx file and password, this works locally but does not seem to help when publishing the site. – DataWrangler1980 May 06 '21 at 20:45
  • Have you found something? I have a similar error, but it doesn't work locally.... (since I had add Authentication) – Andres Talavera Jun 08 '21 at 15:02
  • Hi, yes I solved this issue by allowing the account under which the IIS application pool runs full access to the folder in which the web app is hosted. now it is working locally and when hosted (my issue was on the hosting side, but a friendly administrator figured this out for me) – DataWrangler1980 Aug 18 '21 at 11:52

0 Answers0