Hi
that code already there
public async Task ConfigureAsync(SettingComponentCreationContext context) { if (!await CheckPermissionsInternalAsync(context)) { return; }
var l = context.ServiceProvider.GetRequiredService<IStringLocalizer<AccountResource>>();
context.Groups.Add(
new SettingComponentGroup(
"Volo.Abp.Account",
l["Menu:Account"],
typeof(AccountAdminSettingManagementComponent)
)
);
}
hi
that localization issues resolved. But, for the application libs bootstrap4 updated to bootstrap5. I have added the settings components "AAD Configuration" and "Company Logo" so i am getting these issues and ui view for the user info image from top right to left it is coming and have this type of similar issue in the ui. can you please help me out based on the reference screen i attached.
Hi maliming,
In my updated project, i am using volo.LeptonTheme a.d i updated my package.json file.
package.json :
{
"version": "1.0.0",
"name": "my-app",
"private": true,
"dependencies": {
"@volo/abp.aspnetcore.mvc.ui.theme.lepton": "~9.1.3",
"@volo/saas": "~9.1.3",
"@volo/audit-logging": "~9.1.3",
"@volo/identity": "~9.1.3",
"@volo/account": "~9.1.3"
},
"resolutions": {
"jquery": "^3.7.1",
"bootstrap": "^5.3.7"
}
}
now i am getting the data but getting this pagination(Localization) issues and some page loading issues:
please find the HAR file which is attached. https://ensuritytech-my.sharepoint.com/:u:/g/personal/vishnuvardhan_u_ensurity_com/Ec5ML4PoiFZOjtXcfld1uqEBX0Zo7N3IYdNYGuNUD7iQng?e=ymAbYY
Thanks.
I didn't understand by seeing that guide i need more clarification why it will come and what ar the things that i need to chang in the source code and project code
I have updated dotnet version from 6 to 9 and abp version from 4.4.2 to 9.1.3 which identity related to the identity server. I have updated everything related to identity server which supports latest abp version. withiout updating to openiddict. everything working fine and ui lepton related issues i am facing.
Issue:
Could not find localization source: AMS
abp.js?_v=638863420906681735:44 WARN:
abp.js?_v=638863420906681735:44 Could not find localization source: AbpUi
Could not find localization source: AbpIdentity
Index.js?_v=638826206980000000:11 Uncaught TypeError: id.replace is not a function at HTMLAnchorElement.<anonymous> (Index.js?_v=638826206980000000:11:24) at HTMLAnchorElement.dispatch (jquery.js?_v=638863404709585950:5183:27) at elemData.handle (jquery.js?_v=638863404709585950:4991:28) at Object.trigger (jquery.js?_v=638863404709585950:8249:12) at HTMLAnchorElement.<anonymous> (jquery.js?_v=638863404709585950:8327:17) at jQuery.each (jquery.js?_v=638863404709585950:354:19) at jQuery.fn.init.each (jquery.js?_v=638863404709585950:189:17) at jQuery.fn.init.trigger (jquery.js?_v=638863404709585950:8326:15) at jQuery.fn.<computed> [as click] (jquery.js?_v=638863404709585950:10212:9) at Index.js?_v=638826206980000000:27:16
In every pages i am getting the same issues
I have an old abp project with identity server4 , which i have upgraded to ABP version 8.0.0. Now i want to add LDAP authentication with minimal changes as the project is live. Sincerely appreciate your prompt response
2025-05-08 12:02:49.355 +05:30 [ERR] Unable to cast object of type 'System.Collections.Generic.Dictionary2[System.String,System.Threading.Tasks.Task
1[Microsoft.AspNetCore.Authorization.AuthorizationPolicy]]' to type 'System.Collections.Generic.IDictionary2[System.String,Microsoft.AspNetCore.Authorization.AuthorizationPolicy]'. System.InvalidCastException: Unable to cast object of type 'System.Collections.Generic.Dictionary
2[System.String,System.Threading.Tasks.Task1[Microsoft.AspNetCore.Authorization.AuthorizationPolicy]]' to type 'System.Collections.Generic.IDictionary
2[System.String,Microsoft.AspNetCore.Authorization.AuthorizationPolicy]'.
at Microsoft.AspNetCore.Authorization.AuthorizationOptionsExtensions.GetPoliciesNames(AuthorizationOptions options)
at Volo.Abp.Authorization.AbpAuthorizationPolicyProvider.GetPoliciesNamesAsync()
at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationAppService.GetAuthConfigAsync()
at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationAppService.GetAsync(ApplicationConfigurationRequestOptions options)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()
at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
at Volo.Abp.Auditing.AuditingInterceptor.ProcessWithNewAuditingScopeAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, ICurrentUser currentUser, IAuditingManager auditingManager, IAuditingHelper auditingHelper, IUnitOfWorkManager unitOfWorkManager)
at Volo.Abp.Auditing.AuditingInterceptor.ProcessWithNewAuditingScopeAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, ICurrentUser currentUser, IAuditingManager auditingManager, IAuditingHelper auditingHelper, IUnitOfWorkManager unitOfWorkManager)
at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.ProceedAsync()
at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync(ApplicationConfigurationRequestOptions options)
at lambda_method8218(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
The action buttons are disabled in some pages while it is working in some tablesi.e., It is fine in users table but failing in Roles table
I don't want to update the ABP version to 8.0.0; I only want to target my project to .NET 8. It is currently using .NET 6 with abp version 4.4.2. i have tried to run in release mode still i didnt find any clue.
ABP Framework version: v4.4.2
UI Type: MVC
Database System: EF Core (SQL Server)
**Tiered (for MVC) **: yes
1[[Volo.Abp.IdentityServer.AbpIdentityServerDomainModule, Volo.Abp.IdentityServer.Domain, Version=4.4.2.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.AutoMapper.AutoMapperAutoObjectMappingProvider
1[[Volo.Abp.IdentityServer.AbpIdentityServerDomainModule, Volo.Abp.IdentityServer.Domain, Version=4.4.2.0, Culture=neutral, PublicKeyToken=null]] -> λ:Volo.Abp.AutoMapper.IMapperAccessor -> λ:Volo.Abp.AutoMapper.MapperAccessor.Exception message and full stack trace: stacktrace
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.InvokePipeline(ResolveRequest request, DefaultResolveRequestContext requestContext)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable
1 parameters)
at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType)
at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService(Type serviceType)
at Microsoft.AspNetCore.Builder.IdentityServerApplicationBuilderExtensions.TestService(IServiceProvider serviceProvider, Type service, ILogger logger, String message, Boolean doThrow)
at Microsoft.AspNetCore.Builder.IdentityServerApplicationBuilderExtensions.Validate(IApplicationBuilder app)
at Microsoft.AspNetCore.Builder.IdentityServerApplicationBuilderExtensions.UseIdentityServer(IApplicationBuilder app, IdentityServerMiddlewareOptions options)
at Ensurity.AMS.Web.AMSWebModule.OnApplicationInitialization(ApplicationInitializationContext context) in D:\Git_Sandbox\AMS\src\Ensurity.AMS.Web\AMSWebModule.cs:line 517
at Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor.Initialize(ApplicationInitializationContext context, IAbpModule module)
at Volo.Abp.Modularity.ModuleManager.InitializeModules(ApplicationInitializationContext context)
Requirement: My project is in .net6 and abp version is 4.4.2 and now i am updating to .net8 and abp version to 8.0.0 and i am facing an issue with the source code. without updating the source code how should i update to abp version 8.0.0