-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sql Server Storage and LINQ expression translation Issue #2046
Comments
Hello, @miljan012 this issue has been fixed in the latest codebase via PR1995.
|
This issue affects the Sqlite storage provider as well. This the stack trace of the error I got with sqlite.
|
What happened:
I have a .NET 6 app and HealthChecks UI configured to use InMemoryStorage. It works perfectly.
I wanted to try out the SqlServer storage but after switching from InMemory to MsSQL storage, I started getting errors.
The database migrations are run and the database is created successfully. However, the health check ui no longer displays any of the health checks and the error I'm getting is the following:
The full stack trace is here:
What you expected to happen:
I expect the Health Checks UI to work with Sql Server Storage. As mentioned above, no issues whatsoever with the InMemory Storage.
How to reproduce it (as minimally and precisely as possible):
The code sample and the app settings are below. This is the basic configuration, so nothing special, it's the code from the examples basically.
Source code sample:
appsettings.json:
Anything else we need to know?:
I tried last 2 or 3 versions of HealthChecks.UI libraries and the same error appears in all of them.
I also tried switching back to InMemory storage and it works again with no issues, as expected.
Environment:
The text was updated successfully, but these errors were encountered: