Skip to content

Do I do something wrong? #4665

Answered by sbwalker
JanOlsmar asked this question in Q&A
Sep 24, 2024 · 7 comments · 45 replies
Discussion options

You must be logged in to vote

@JanOlsmar it looks like this specific scenario (ie. creating a new site in a multi-tenant environment using an isolated database) may have been affected by the recent enhancements in 5.2.2 to support SecurityStamp:

Oqtane.Repository.UserRoleRepository.UpdateSecurityStamp(Int32 userId) in C:\Source\Projects\oqtane.framework\Oqtane.Server\Repository\UserRoleRepository.cs:line 168

This method relies on the .NET Identity library - which appears to be throwing the DbContext exception. Perhaps the .NET Identity library is not using DbContextFactory (which is the recommended approach in Blazor). This will require more investigation.

Replies: 7 comments 45 replies

Comment options

You must be logged in to vote
13 replies
@JanOlsmar
Comment options

@thabaum
Comment options

@JanOlsmar
Comment options

@thabaum
Comment options

@JanOlsmar
Comment options

Comment options

You must be logged in to vote
1 reply
@sbwalker
Comment options

Answer selected by JanOlsmar
Comment options

You must be logged in to vote
19 replies
@thabaum
Comment options

@thabaum
Comment options

@thabaum
Comment options

@thabaum
Comment options

@thabaum
Comment options

Comment options

You must be logged in to vote
8 replies
@thabaum
Comment options

@thabaum
Comment options

@sbwalker
Comment options

@thabaum
Comment options

@thabaum
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@JanOlsmar
Comment options

@sbwalker
Comment options

@JanOlsmar
Comment options

@sbwalker
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants