Repository navigation
|
I have a testsite, lets call it oqtane.test.com release 5.2.3 I fill in this The new database is created but I cant access the new site. It is Blank no log. |
Replies: 7 comments 45 replies
|
This sounds like it may be an issue worth reporting. |
|
@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. |
|
@JanOlsmar I just tested this locally and I was not able to reproduce the error you encountered. One difference is that I was using LocalDB rather than a full SQL Server instance. However it would be helpful to understand if you encountered the error when running in Visual Studio - or on an IIS instance. |
|
@thabaum the issue related to Installation on IIS #4667 has been resolved... however the issue of creating an additional Site with a separate Database(Tenant) which @JanOlsmar reported in this Discussion thread is unrelated, and still appears to be an issue (ie. I can reproduce it). I cannot reproduce this issue when running in Visual Studio (on IIS Express) so it is very confusing. |
|
I have done a couple of test of my original error IIS and Sql Server. I never use LocalDB on IIS. |
|
@JanOlsmar are you saying that you got the latest code from the Dev branch (with the latest fix), compiled it, deployed it to an IIS instance, and you are still experiencing the problem? |



@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.