Activities of "shijo"

hi

Try to uninstall and install the suite again.

  abp suite remove 
  abp suite install 
 

No Luck

hi

Can you try to install other global tools?
This seems to be a problem with the global tool. eg:

> dotnet tool install -g dotnetsay 
> dotnetsay 

After installing this abp command is working but same access denied in abp suite command.

hi

Can you try to run the abp suite command in another folder?

  • ABP Framework version: v7.3.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
    • abp suite command showing access denied after I updated the cli and suite to 7.3.0
  • Steps to reproduce the issue:" * uninstall current version cli and suite 7.0 * install the latest cli * update cli * run command any abp command * showing access denied * *

Thanks. Its working.

  • ABP Framework version: v7.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:" We are updating some records through distributed events, other than LastmofierID all values are updating perfectly. I tried to set ClaimsPrincipal also but not reflecting. Sample method added below,
        [UnitOfWork]
        public async Task HandleEventAsync(APIBulkOperationEto eventData)
        {
            _currentTenant.Change(eventData.TenantId);
            var newPrincipal = new ClaimsPrincipal(
                                    new ClaimsIdentity(
                                        new Claim[]
                                        {
                                                    new Claim(AbpClaimTypes.UserId, eventData.CreatorId.ToString()),
                                                    new Claim(AbpClaimTypes.TenantId, eventData.TenantId.ToString()),
                                                    new Claim(AbpClaimTypes.UserName, "admin")
                                        }
                                    )
                                 );

             var detail = await _bulkActionDetailRepository.GetAsync(x => x.BulkActionId == eventData.BulkActionId && x.FileDescriptorId == eventData.FileDescriptorId);
                    if (detail != null)
                    {
                        detail.Status = eventData.Status;
                        detail.StatusDetail = eventData.StatusMessage;
                        await _bulkActionDetailRepository.UpdateAsync(detail, true);
                    }
        }

If you're creating a bug/problem report, please include the followings:

  • ABP Framework version: v7.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:" We are getting a script error in the production build, development no error is coming.

Can you share a simple project?

liming.ma@volosoft.com

Issue solved. One of my class library is using two abp packages with old version, after updating those packages with version 7 it worked.

abp clean

Tried this, no luck. I just migrated project abp ver6 to ver7. The mentioned details are only writing in log which is not clear about the actual issue. What could be the reason to raise this kind of error?

2023-01-11 09:03:58.654 +04:00 [INF] Starting Akadimi.HttpApi.Host.
2023-01-11 09:09:54.908 +04:00 [INF] Starting Akadimi.HttpApi.Host.
2023-01-11 09:12:33.090 +04:00 [INF] Starting Akadimi.HttpApi.Host.
2023-01-11 09:12:58.385 +04:00 [FTL] Host terminated unexpectedly!
System.TypeLoadException: Could not load type 'Volo.Abp.Json.IJsonSerializer' from assembly 'Volo.Abp.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|21_0()
   at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy()
   at System.Reflection.RuntimeConstructorInfo.GetParameters()
   at Autofac.Core.Activators.Reflection.ConstructorBinder..ctor(ConstructorInfo constructorInfo)
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ConfigurePipeline(IComponentRegistryServices componentRegistryServices, IResolvePipelineBuilder pipelineBuilder)
   at Autofac.Core.Registration.ComponentRegistration.BuildResolvePipeline(IComponentRegistryServices registryServices, IResolvePipelineBuilder pipelineBuilder)
   at Autofac.Core.Registration.ComponentRegistration.BuildResolvePipeline(IComponentRegistryServices registryServices)
   at Autofac.Core.Registration.ComponentRegistryBuilder.Build()
   at Autofac.ContainerBuilder.Build(ContainerBuildOptions options)
   at Volo.Abp.Autofac.AbpAutofacServiceProviderFactory.CreateServiceProvider(ContainerBuilder containerBuilder)
   at Microsoft.Extensions.Hosting.HostApplicationBuilder.Build()
   at Microsoft.AspNetCore.Builder.WebApplicationBuilder.Build()
   at Akadimi.Program.Main(String[] args) in D:\Akadimi\V7\Akadimi\aspnet-core\src\Akadimi.HttpApi.Host\Program.cs:line 61
2023-01-11 09:16:07.325 +04:00 [INF] Starting Akadimi.HttpApi.Host.
2023-01-11 09:16:32.005 +04:00 [FTL] Host terminated unexpectedly!
System.TypeLoadException: Could not load type 'Volo.Abp.Json.IJsonSerializer' from assembly 'Volo.Abp.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|21_0()
   at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy()
   at System.Reflection.RuntimeConstructorInfo.GetParameters()
   at Autofac.Core.Activators.Reflection.ConstructorBinder..ctor(ConstructorInfo constructorInfo)
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ConfigurePipeline(IComponentRegistryServices componentRegistryServices, IResolvePipelineBuilder pipelineBuilder)
   at Autofac.Core.Registration.ComponentRegistration.BuildResolvePipeline(IComponentRegistryServices registryServices, IResolvePipelineBuilder pipelineBuilder)
   at Autofac.Core.Registration.ComponentRegistration.BuildResolvePipeline(IComponentRegistryServices registryServices)
   at Autofac.Core.Registration.ComponentRegistryBuilder.Build()
   at Autofac.ContainerBuilder.Build(ContainerBuildOptions options)
   at Volo.Abp.Autofac.AbpAutofacServiceProviderFactory.CreateServiceProvider(ContainerBuilder containerBuilder)
   at Microsoft.Extensions.Hosting.HostApplicationBuilder.Build()
   at Microsoft.AspNetCore.Builder.WebApplicationBuilder.Build()
   at Akadimi.Program.Main(String[] args) in D:\Akadimi\V7\Akadimi\aspnet-core\src\Akadimi.HttpApi.Host\Program.cs:line 61
2023-01-11 09:19:45.827 +04:00 [INF] Starting Akadimi.HttpApi.Host.

  • ABP Framework version: v7.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
2023-01-10 15:31:56.811 +04:00 [INF] Starting Akadimi.HttpApi.Host.
2023-01-10 15:32:04.573 +04:00 [FTL] Host terminated unexpectedly!
System.TypeLoadException: Could not load type 'Volo.Abp.Json.IJsonSerializer' from assembly 'Volo.Abp.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|21_0()
   at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy()
   at System.Reflection.RuntimeConstructorInfo.GetParameters()
   at Autofac.Core.Activators.Reflection.ConstructorBinder..ctor(ConstructorInfo constructorInfo)
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ConfigurePipeline(IComponentRegistryServices componentRegistryServices, IResolvePipelineBuilder pipelineBuilder)
   at Autofac.Core.Registration.ComponentRegistration.BuildResolvePipeline(IComponentRegistryServices registryServices, IResolvePipelineBuilder pipelineBuilder)
   at Autofac.Core.Registration.ComponentRegistration.BuildResolvePipeline(IComponentRegistryServices registryServices)
   at Autofac.Core.Registration.ComponentRegistryBuilder.Build()
   at Autofac.ContainerBuilder.Build(ContainerBuildOptions options)
   at Volo.Abp.Autofac.AbpAutofacServiceProviderFactory.CreateServiceProvider(ContainerBuilder containerBuilder)
   at Microsoft.Extensions.Hosting.HostApplicationBuilder.Build()
   at Microsoft.AspNetCore.Builder.WebApplicationBuilder.Build()
   at Akadimi.Program.Main(String[] args) in D:\Akadimi\V7\Akadimi\aspnet-core\src\Akadimi.HttpApi.Host\Program.cs:line 61

Showing 41 to 50 of 109 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11