Hi, I have checked your project and it seems that you missed some configurations. In your project (where you defined the embedded resources), you should apply the following steps:
Microsoft.Extensions.FileProviders.Embedded
NuGet package to the project that contains the embedded resource(s).<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
into the <PropertyGroup>...</PropertyGroup>
section of your .csproj file.Check the documentation for further info: https://abp.io/docs/9.0/framework/infrastructure/virtual-file-system#embedding-the-files
Hi, please apply the following steps:
In your CloverleafCMSMemberConfigModule, check if MemberConfigDbContext is being registered properly as a MongoDB context. The following should be present in the ConfigureServices
method:
context.Services.AddMongoDbContext<MemberConfigDbContext>(options =>
{
options.AddDefaultRepositories();
options.AddRepository<Member, MongoMemberRepository>();
});
Make sure AddDefaultRepositories() and custom repository configuration is included.
Ensure that CloverleafCMSMemberConfigModule depends on AbpMongoDbModule:
[DependsOn(typeof(AbpMongoDbModule))]
public class CloverleafCMSMemberConfigModule : AbpModule
{
// ...
}
This ensures that ABP properly initializes MongoDB-related services.
If the MongoMemberRepository constructor expects IMongoDbContextProvider<MemberConfigDbContext>, confirm that it looks something like this:
public class MongoMemberRepository : MongoDbRepository<MemberConfigDbContext, Member, Guid>, IMemberRepository
{
public MongoMemberRepository(IMongoDbContextProvider<MemberConfigDbContext> dbContextProvider)
: base(dbContextProvider)
{
}
}
If you have a custom implementation, make sure the correct context type is being injected.
Try these fixes one by one and restart your application. Let me know if you need further debugging!
Hi, I sent the sample application to support@abp.io
Hi, thank you. I have downloaded your project and will write back asap.
Hi, I will check and write back to you asap.
Regards.
Hi, instead of removing the IAsyncExceptionFilter
registration from DI container, you can directly replace the related exception filter like this:
context.Services.Configure<MvcOptions>(options =>
{
options.Filters.ReplaceOne(
f => f is ServiceFilterAttribute fa && fa.ServiceType == typeof(AbpExceptionFilter),
new ServiceFilterAttribute(typeof(YourAbpExceptionFilter))
);
options.Filters.ReplaceOne(
f => f is ServiceFilterAttribute fa && fa.ServiceType == typeof(AbpExceptionPageFilter),
new ServiceFilterAttribute(typeof(YourAbpExceptionPageFilter))
);
});
After adding this configuration, you can delete the last two service replacement in the shared code and it should work as expected.
Regards.
Hi, there was a problem with the custom code support in the prior versions, and it was fixed with v9.0.5+. So, if you update ABP Suite to v9.0.5, then you should be able to re-generate without losing your custom code changes.
Best regards.
No luck. I tested with and without idle session timeout enabled on version 9.1.0 and the bug is still present. Again reproducing with an unchanged brand new microservice template using blazor server ui.
I also ran a new test. I logged in with a browser and closed my browser. Came back over an hour later, opened my browser, and navigated to the blazor server url. The same issue occurs, I was still logged in with the permissions failing. So I do not think this is an idle issue.
Also this was in the Blazor Server logs right after coming back and seeing the bug:
3/5/2025 9:50:46 PM [Information] Request starting "HTTP/1.1" "GET" "http"://"localhost:44319""""/""" - null null 3/5/2025 9:50:46 PM [Information] Executing endpoint '"/ (/)"' 3/5/2025 9:50:46 PM [Information] Start processing HTTP request "GET" "http://localhost:44392/api/abp/application-configuration?" 3/5/2025 9:50:46 PM [Information] Sending HTTP request "GET" "http://localhost:44392/api/abp/application-configuration?" 3/5/2025 9:50:46 PM [Information] Received HTTP response headers after 166.7077ms - 200 3/5/2025 9:50:46 PM [Information] End processing HTTP request after 167.0904ms - 200 3/5/2025 9:50:46 PM [Information] Start processing HTTP request "GET" "http://localhost:44392/api/abp/application-localization?" 3/5/2025 9:50:46 PM [Information] Sending HTTP request "GET" "http://localhost:44392/api/abp/application-localization?" 3/5/2025 9:50:47 PM [Information] Received HTTP response headers after 447.4038ms - 200 3/5/2025 9:50:47 PM [Information] End processing HTTP request after 447.5893ms - 200 3/5/2025 9:50:47 PM [Information] Executed endpoint '"/ (/)"' 3/5/2025 9:50:47 PM [Information] Request finished "HTTP/1.1" "GET" "http"://"localhost:44319""""/""" - 200 null "text/html; charset=utf-8" 629.8129ms 3/5/2025 9:50:47 PM [Information] Request starting "HTTP/1.1" "GET" "http"://"localhost:44319""""/api/account/profile-picture-file/d1791337-13cc-d222-68da-3a1875742f44""" - null null 3/5/2025 9:50:47 PM [Information] Executing endpoint '"Volo.Abp.Account.AccountClientProxy.GetProfilePictureFileAsync (Volo.Abp.Account.Pro.Public.HttpApi.Client)"' 3/5/2025 9:50:47 PM [Information] Route matched with "{area = "account", action = "GetProfilePictureFile", controller = "Account", page = ""}". Executing controller action with signature "System.Threading.Tasks.Task`1[Volo.Abp.Content.IRemoteStreamContent] GetProfilePictureFileAsync(System.Guid)" on controller "Volo.Abp.Account.AccountClientProxy" ("Volo.Abp.Account.Pro.Public.HttpApi.Client"). 3/5/2025 9:50:47 PM [Information] Start processing HTTP request "GET" "http://localhost:44392/api/account/profile-picture-file/d1791337-13cc-d222-68da-3a1875742f44?" 3/5/2025 9:50:47 PM [Information] Sending HTTP request "GET" "http://localhost:44392/api/account/profile-picture-file/d1791337-13cc-d222-68da-3a1875742f44?" 3/5/2025 9:50:47 PM [Information] Received HTTP response headers after 86.4451ms - 200 3/5/2025 9:50:47 PM [Information] End processing HTTP request after 86.623ms - 200 3/5/2025 9:50:47 PM [Information] Executing "ObjectResult", writing value of type '"Volo.Abp.Content.RemoteStreamContent"'. 3/5/2025 9:50:47 PM [Information] Executed action "Volo.Abp.Account.AccountClientProxy.GetProfilePictureFileAsync (Volo.Abp.Account.Pro.Public.HttpApi.Client)" in 88.4035ms 3/5/2025 9:50:47 PM [Information] Executed endpoint '"Volo.Abp.Account.AccountClientProxy.GetProfilePictureFileAsync (Volo.Abp.Account.Pro.Public.HttpApi.Client)"' 3/5/2025 9:50:47 PM [Information] Request finished "HTTP/1.1" "GET" "http"://"localhost:44319""""/api/account/profile-picture-file/d1791337-13cc-d222-68da-3a1875742f44""" - 200 1370 "image/jpeg" 89.8434ms 3/5/2025 9:50:47 PM [Information] Request starting "HTTP/1.1" "GET" "http"://"localhost:44319""""/_blazor/initializers""" - null null 3/5/2025 9:50:47 PM [Information] Executing endpoint '"Microsoft.AspNetCore.Routing.RouteEndpoint"' 3/5/2025 9:50:47 PM [Information] Executed endpoint '"Microsoft.AspNetCore.Routing.RouteEndpoint"' 3/5/2025 9:50:47 PM [Information] Request finished "HTTP/1.1" "GET" "http"://"localhost:44319""""/_blazor/initializers""" - 200 null "application/json; charset=utf-8" 1.47ms 3/5/2025 9:50:47 PM [Information] Request starting "HTTP/1.1" "POST" "http"://"localhost:44319""""/_blazor/negotiate""?negotiateVersion=1" - null 0 3/5/2025 9:50:47 PM [Information] Executing endpoint '"Microsoft.AspNetCore.Routing.RouteEndpoint"' 3/5/2025 9:50:47 PM [Information] Executed endpoint '"Microsoft.AspNetCore.Routing.RouteEndpoint"' 3/5/2025 9:50:47 PM [Information] Request finished "HTTP/1.1" "POST" "http"://"localhost:44319""""/_blazor/negotiate""?negotiateVersion=1" - 200 316 "application/json" 0.9733ms 3/5/2025 9:50:47 PM [Information] Request starting "HTTP/1.1" "GET" "http"://"localhost:44319""""/_blazor""?id=lSYdZRHCJf-w3dwXPBWv9A" - null null 3/5/2025 9:50:47 PM [Information] Executing endpoint '"Microsoft.AspNetCore.Routing.RouteEndpoint"' 3/5/2025 9:50:52 PM [Information] Request starting "HTTP/1.1" "POST" "http"://"localhost:44319""""/_blazor/disconnect""" - "multipart/form-data; boundary=----WebKitFormBoundaryJ9jqH3BCJZUOBDQX" 359 3/5/2025 9:50:52 PM [Information] Executing endpoint '"Microsoft.AspNetCore.Routing.RouteEndpoint"' 3/5/2025 9:50:52 PM [Information] Executed endpoint '"Microsoft.AspNetCore.Routing.RouteEndpoint"' 3/5/2025 9:50:52 PM [Information] Request finished "HTTP/1.1" "POST" "http"://"localhost:44319""""/_blazor/disconnect""" - 200 0 null 3.3414ms 3/5/2025 9:50:52 PM [Information] Executed endpoint '"Microsoft.AspNetCore.Routing.RouteEndpoint"' 3/5/2025 9:50:52 PM [Information] Request finished "HTTP/1.1" "GET" "http"://"localhost:44319""""/_blazor""?id=lSYdZRHCJf-w3dwXPBWv9A" - 101 null null 5033.6119ms 3/5/2025 10:30:39 PM [Information] Request starting "HTTP/1.1" "GET" "http"://"localhost:44319""""/""" - null null 3/5/2025 10:30:39 PM [Information] Executing endpoint '"/ (/)"' 3/5/2025 10:30:39 PM [Information] Start processing HTTP request "GET" "http://localhost:44392/api/abp/application-configuration?" 3/5/2025 10:30:39 PM [Information] Sending HTTP request "GET" "http://localhost:44392/api/abp/application-configuration?" 3/5/2025 10:30:40 PM [Information] Received HTTP response headers after 89.3183ms - 200 3/5/2025 10:30:40 PM [Information] End processing HTTP request after 89.4796ms - 200 3/5/2025 10:30:40 PM [Information] Start processing HTTP request "GET" "http://localhost:44392/api/abp/application-localization?" 3/5/2025 10:30:40 PM [Information] Sending HTTP request "GET" "http://localhost:44392/api/abp/application-localization?" 3/5/2025 10:30:40 PM [Information] Received HTTP response headers after 362.1896ms - 200 3/5/2025 10:30:40 PM [Information] End processing HTTP request after 362.3572ms - 200 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: SettingManagement.Emailing" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: FeatureManagement.ManageHostFeatures" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: Saas.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AuditLogging.AuditLogs.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: SettingManagement.Emailing" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: FeatureManagement.ManageHostFeatures" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: Saas.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AuditLogging.AuditLogs.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: SettingManagement.Emailing" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: FeatureManagement.ManageHostFeatures" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: Saas.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AuditLogging.AuditLogs.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: SettingManagement.Emailing" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: FeatureManagement.ManageHostFeatures" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: Saas.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AuditLogging.AuditLogs.SettingManagement" 3/5/2025 10:30:40 PM [Information] Authorization failed. "These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement"
Okay, thanks for further investigation. I will ask our qa team to test this situation and then create an issue to fix the problem.
Best regards.
yes yes that is what i'm talking about i can not find the same path of sideMenuLayout to change the favicon i just changed it's global.css here is the full files
To add a favicon, you don't need to add a line to the sideMenuLayout. You can just create files in the ~/wwwroot/favicon.svg
and ~/wwwroot/favicon.ico
paths to override the current favicon.
Please send your project via email to support@abp.io (with specifying the ticket number). If you did not make any customization, it's weird to see that there is no language-switch component registered in your application.