hi
Steps to reproduce the issue
hi
Please try to update the database in your projects.
host\Aeonic.Module.Reviews.IdentityServer>dotnet ef database update
host\Aeonic.Module.Reviews.HttpApi.Host>dotnet ef database update
An error occurred using the connection to database 'Reviews_Main' on server 'localhost'.
2021-08-05 20:10:12.863 -04:00 [FTL] Application startup exception
Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Aeonic.Module.Reviews.ReviewsIdentityServerModule, Aeonic.Module.Reviews.IdentityServer, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null: Cannot open database "Reviews_Main" requested by the login. The login failed.
Login failed for user 'DESKTOP-GTS0TLK\Jeff-Office-PC'.. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot open database "Reviews_Main" requested by the login. The login failed.
Login failed for user 'DESKTOP-GTS0TLK\Jeff-Office-PC'.
hi devraj.np
var roleId = Guid.NewGuid(); //Your role id
var role = await _identityRoleManager.GetByIdAsync(roleId);
var usersInRole = _identityUserRepository.GetListByNormalizedRoleNameAsync(role.NormalizedName);
using (_multiTenantFilter.Disable()) //IDataFilter<IMultiTenant>
{
var roleId = Guid.NewGuid();
var role = await _identityRoleManager.GetByIdAsync(roleId);
var usersInRole = _identityUserRepository.GetListByNormalizedRoleNameAsync(role.NormalizedName);
}
hi
It will triggered when you're using the template fuctions.
You can try to remove Blazor.Server.Host
project from your solution.
👍
Your question credits returned.
hi
The BasicTheme
should be already download in modules
folder.
Can you add it to your project manual?
I created an issue. https://github.com/abpframework/abp/issues/9747
.sln
hi serdar.genc@talentra.net
Can you try use this command?
abp add-module Volo.BasicTheme --with-source-code --add-to-solution-file