fullstackhero / blazor-wasm-boilerplate

Clean Architecture Boilerplate Template for .NET 6.0 Blazor WebAssembly built for FSH WebAPI with the goodness of MudBlazor Components.

Home Page:https://fullstackhero.net/blazor-webassembly-boilerplate/general/getting-started/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot open database "preReleaseTest"

AllanTee opened this issue · comments

I used my test MySQL database on another computer. Migration seems to be successful, many new tables occurred in the database.

On the first run:
ERR] Execution BackgroundServerProcess is still in the Failed state for 00:09:25.6352334 due to an exception, will be retried no more than in 00:00:15
Cannot open database "preReleaseTest" requested by the login. The login failed.

Seems to be a problem with hangfire... have you also changed the connectionstring and provider in hangfire.config?

Like fretje pointed out, check your hangfire.json under Host>Configurations>hangfire.json.
Make sure you edit the connectionstring under storage.

https://github.com/fullstackhero/dotnet-webapi-boilerplate/blob/main/src/Host/Configurations/hangfire.json

Hi,

FSH.Starter and FSH.Blazor apps work as expected until the first login with root credentials. I can even register a new user and I see new user data in the database. But when I login, weird question starts "Wrong tenant name" etc... I cannot log in.
Looks like I don't understand exactly how to use your apps.

However, I'm not interested in the WebAssembly app. Can FSH.Starter be used as a template for the Blazor Server app? I tried it. When I added Razor components to the template, then there were error messages about missing database migrations, etc ... Adding Migrations results with errors...