- ABP Framework version: v5.0.0
- UI type: Blazor (Server Side)
- DB provider: EF Core / SqlServer
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
[22:40:25 DBG] Login Return Url Parameter: ReturnUrl
[22:40:25 DBG] Logout Url: /Account/Logout
[22:40:25 DBG] ConsentUrl Url: /Consent
[22:40:25 DBG] Consent Return Url Parameter: returnUrl
[22:40:25 DBG] Error Url: /Account/Error
[22:40:25 DBG] Error Id Parameter: errorId
[22:40:25 WRN] The operation was canceled.
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Threading.CancellationToken.ThrowIfCancellationRequested()
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAsync(String key, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.GetAsync(TCacheKey key, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token)
[22:40:25 INF] Entity Framework Core 6.0.0 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.0' with options: QuerySplittingBehavior=SplitQuery
[22:40:25 ERR] An error occurred using the connection to database 'Rms_Main6' on server '(local)'.
[22:40:25 ERR] An exception occurred while iterating over the results of a query for context type 'Volo.Abp.SettingManagement.EntityFrameworkCore.SettingManagementDbContext'.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
at Volo.Abp.SettingManagement.EntityFrameworkCore.EfCoreSettingRepository.GetListAsync(String providerName, String providerKey, CancellationToken cancellationToken)
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.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Volo.Abp.SettingManagement.SettingManagementStore.SetCacheItemsAsync(String providerName, String providerKey, String currentName, SettingCacheItem currentCacheItem)
at Volo.Abp.SettingManagement.SettingManagementStore.GetCacheItemAsync(String name, String providerName, String providerKey)
at Volo.Abp.SettingManagement.SettingManagementStore.GetOrNullAsync(String name, String providerName, String providerKey)
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.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Volo.Abp.Settings.TenantSettingValueProvider.GetOrNullAsync(SettingDefinition setting)
at Volo.Abp.Settings.SettingProvider.GetOrNullValueFromProvidersAsync(IEnumerable`1 providers, SettingDefinition setting)
at Volo.Abp.Settings.SettingProvider.GetOrNullAsync(String name)
at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Builder.ApplicationBuilderAbpJwtTokenMiddlewareExtension.<>c__DisplayClass0_0.<<UseJwtTokenMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Watch.BrowserRefresh.BrowserRefreshMiddleware.InvokeAsync(HttpContext context)
[22:40:25 ERR] Connection id "0HMDVR3A9T76B", Request id "0HMDVR3A9T76B:00000011": An unhandled exception was thrown by the application.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
at Volo.Abp.SettingManagement.EntityFrameworkCore.EfCoreSettingRepository.GetListAsync(String providerName, String providerKey, CancellationToken cancellationToken)
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.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
- Steps to reproduce the issue:" 1)Start ABP Suite; 2)Create a new Module withe the name is "Rms" 3)Open solution with Visual Studio 2022 4)Open shell over IdentityServer 5)Run command dotnet ef database update 6)Debug only Identity Server project.
17 Answer(s)
-
0
Sometimes, I start the project. I see below exception on command line.
[10:25:44 WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable`1 items, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext() [10:25:44 WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable`1 items, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext() [10:25:44 INF] Initialized all ABP modules. [10:25:44 INF] Now listening on: https://localhost:44330 [10:25:44 INF] Application started. Press Ctrl+C to shut down. [10:25:44 INF] Hosting environment: Development [10:25:44 INF] Content root path: D:\dev\gitlab\abp6\modules\Yee.Change.Rms\host\Yee.Change.Rms.IdentityServer [10:25:45 INF] Request starting HTTP/2 GET https://localhost:44330/ - - [10:25:45 ERR] Connection id "0HME07DEID4R4", Request id "0HME07DEID4R4:0000000F": An unhandled exception was thrown by the application. System.InvalidOperationException: Cannot find compilation library location for package 'ConfigureAwait.Fody' at Microsoft.Extensions.DependencyModel.CompilationLibrary.ResolveReferencePaths(ICompilationAssemblyResolver resolver, List`1 assemblies) at Microsoft.Extensions.DependencyModel.CompilationLibrary.ResolveReferencePaths() at Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPartExtensions.<>c.<GetReferencePaths>b__0_0(CompilationLibrary library) at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext() at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RazorReferenceManager.GetReferencePaths() at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RazorReferenceManager.GetCompilationReferences() at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) at System.Threading.LazyInitializer.EnsureInitialized[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RazorReferenceManager.get_CompilationReferences() at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.LazyMetadataReferenceFeature.get_References() at Microsoft.CodeAnalysis.Razor.CompilationTagHelperFeature.GetDescriptors() at Microsoft.AspNetCore.Razor.Language.DefaultRazorTagHelperBinderPhase.ExecuteCore(RazorCodeDocument codeDocument) at Microsoft.AspNetCore.Razor.Language.RazorEnginePhaseBase.Execute(RazorCodeDocument codeDocument) at Microsoft.AspNetCore.Razor.Language.DefaultRazorEngine.Process(RazorCodeDocument document) at Microsoft.AspNetCore.Razor.Language.DefaultRazorProjectEngine.ProcessCore(RazorCodeDocument codeDocument) at Microsoft.AspNetCore.Razor.Language.RazorProjectEngine.Process(RazorProjectItem projectItem) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(String relativePath) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.OnCacheMiss(String normalizedPath) --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageLoader.LoadAsyncCore(PageActionDescriptor actionDescriptor, EndpointMetadataCollection endpointMetadata) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoaderMatcherPolicy.ApplyAsyncAwaited(CandidateSet candidates, Task`1 actionDescriptorTask, Int32 index)
-
0
What if you use the
dotnet run
command?Cannot find compilation library location for package 'ConfigureAwait.Fody'
Try to run
delete-bin-obj-folders.bat
and re-run the app -
0
[10:39:13 INF] Starting web host. [10:39:21 INF] User profile is available. Using 'C:\Users\David\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. [10:39:21 INF] Loaded ABP modules: [10:39:21 INF] - Yee.Change.Rms.RmsIdentityServerModule [10:39:21 INF] - Volo.Abp.Account.Web.AbpAccountPublicWebIdentityServerModule [10:39:21 INF] - Volo.Abp.Account.Public.Web.AbpAccountPublicWebModule [10:39:21 INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule [10:39:21 INF] - Volo.Abp.Localization.AbpLocalizationModule [10:39:21 INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule [10:39:21 INF] - Volo.Abp.Settings.AbpSettingsModule [10:39:21 INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule [10:39:21 INF] - Volo.Abp.Security.AbpSecurityModule [10:39:21 INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule [10:39:21 INF] - Volo.Abp.Data.AbpDataModule [10:39:21 INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule [10:39:21 INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule [10:39:21 INF] - Volo.Abp.Uow.AbpUnitOfWorkModule [10:39:21 INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule [10:39:21 INF] - Volo.Abp.Identity.AspNetCore.AbpIdentityAspNetCoreModule [10:39:21 INF] - Volo.Abp.Identity.AbpIdentityDomainModule [10:39:21 INF] - Volo.Abp.Domain.AbpDddDomainModule [10:39:21 INF] - Volo.Abp.Auditing.AbpAuditingModule [10:39:21 INF] - Volo.Abp.Json.AbpJsonModule [10:39:21 INF] - Volo.Abp.Timing.AbpTimingModule [10:39:21 INF] - Volo.Abp.Threading.AbpThreadingModule [10:39:21 INF] - Volo.Abp.Auditing.AbpAuditingContractsModule [10:39:21 INF] - Volo.Abp.EventBus.AbpEventBusModule [10:39:21 INF] - Volo.Abp.Guids.AbpGuidsModule [10:39:21 INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule [10:39:21 INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule [10:39:21 INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule [10:39:21 INF] - Volo.Abp.Specifications.AbpSpecificationsModule [10:39:21 INF] - Volo.Abp.Identity.AbpIdentityDomainSharedModule [10:39:21 INF] - Volo.Abp.Users.AbpUsersDomainSharedModule [10:39:21 INF] - Volo.Abp.Validation.AbpValidationModule [10:39:21 INF] - Volo.Abp.Features.AbpFeaturesModule [10:39:21 INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule [10:39:21 INF] - Volo.Abp.Users.AbpUsersDomainModule [10:39:21 INF] - Volo.Abp.Users.AbpUsersAbstractionModule [10:39:21 INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule [10:39:21 INF] - Volo.Abp.Sms.AbpSmsModule
-
0
-
0
What's the result?
-
0
Just the same result as before.
UPDATE [IdentityServerClients] SET [AbsoluteRefreshTokenLifetime] = @p117, [AccessTokenLifetime] = @p118, [AccessTokenType] = @p119, [AllowAccessTokensViaBrowser] = @p120, [AllowOfflineAccess] = @p121, [AllowPlainTextPkce] = @p122, [AllowRememberConsent] = @p123, [AllowedIdentityTokenSigningAlgorithms] = @p124, [AlwaysIncludeUserClaimsInIdToken] = @p125, [AlwaysSendClientClaims] = @p126, [AuthorizationCodeLifetime] = @p127, [BackChannelLogoutSessionRequired] = @p128, [BackChannelLogoutUri] = @p129, [ClientClaimsPrefix] = @p130, [ClientId] = @p131, [ClientName] = @p132, [ClientUri] = @p133, [ConcurrencyStamp] = @p134, [ConsentLifetime] = @p135, [CreationTime] = @p136, [CreatorId] = @p137, [DeleterId] = @p138, [DeletionTime] = @p139, [Description] = @p140, [DeviceCodeLifetime] = @p141, [EnableLocalLogin] = @p142, [Enabled] = @p143, [ExtraProperties] = @p144, [FrontChannelLogoutSessionRequired] = @p145, [FrontChannelLogoutUri] = @p146, [IdentityTokenLifetime] = @p147, [IncludeJwtId] = @p148, [IsDeleted] = @p149, [LastModificationTime] = @p150, [LastModifierId] = @p151, [LogoUri] = @p152, [PairWiseSubjectSalt] = @p153, [ProtocolType] = @p154, [RefreshTokenExpiration] = @p155, [RefreshTokenUsage] = @p156, [RequireClientSecret] = @p157, [RequireConsent] = @p158, [RequirePkce] = @p159, [RequireRequestObject] = @p160, [SlidingRefreshTokenLifetime] = @p161, [UpdateAccessTokenClaimsOnRefresh] = @p162, [UserCodeType] = @p163, [UserSsoLifetime] = @p164 WHERE [Id] = @p165 AND [ConcurrencyStamp] = @p166; SELECT @@ROWCOUNT; UPDATE [IdentityServerClients] SET [AbsoluteRefreshTokenLifetime] = @p167, [AccessTokenLifetime] = @p168, [AccessTokenType] = @p169, [AllowAccessTokensViaBrowser] = @p170, [AllowOfflineAccess] = @p171, [AllowPlainTextPkce] = @p172, [AllowRememberConsent] = @p173, [AllowedIdentityTokenSigningAlgorithms] = @p174, [AlwaysIncludeUserClaimsInIdToken] = @p175, [AlwaysSendClientClaims] = @p176, [AuthorizationCodeLifetime] = @p177, [BackChannelLogoutSessionRequired] = @p178, [BackChannelLogoutUri] = @p179, [ClientClaimsPrefix] = @p180, [ClientId] = @p181, [ClientName] = @p182, [ClientUri] = @p183, [ConcurrencyStamp] = @p184, [ConsentLifetime] = @p185, [CreationTime] = @p186, [CreatorId] = @p187, [DeleterId] = @p188, [DeletionTime] = @p189, [Description] = @p190, [DeviceCodeLifetime] = @p191, [EnableLocalLogin] = @p192, [Enabled] = @p193, [ExtraProperties] = @p194, [FrontChannelLogoutSessionRequired] = @p195, [FrontChannelLogoutUri] = @p196, [IdentityTokenLifetime] = @p197, [IncludeJwtId] = @p198, [IsDeleted] = @p199, [LastModificationTime] = @p200, [LastModifierId] = @p201, [LogoUri] = @p202, [PairWiseSubjectSalt] = @p203, [ProtocolType] = @p204, [RefreshTokenExpiration] = @p205, [RefreshTokenUsage] = @p206, [RequireClientSecret] = @p207, [RequireConsent] = @p208, [RequirePkce] = @p209, [RequireRequestObject] = @p210, [SlidingRefreshTokenLifetime] = @p211, [UpdateAccessTokenClaimsOnRefresh] = @p212, [UserCodeType] = @p213, [UserSsoLifetime] = @p214 WHERE [Id] = @p215 AND [ConcurrencyStamp] = @p216; SELECT @@ROWCOUNT; [10:50:21 WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable`1 items, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext() [10:50:21 WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable`1 items, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext() [10:50:21 INF] Initialized all ABP modules. [10:50:21 INF] Now listening on: https://localhost:44330 [10:50:21 INF] Application started. Press Ctrl+C to shut down. [10:50:21 INF] Hosting environment: Development [10:50:21 INF] Content root path: D:\dev\gitlab\abp6\modules\Yee.Change.Rms\host\Yee.Change.Rms.IdentityServer [10:50:22 INF] Request starting HTTP/2 GET https://localhost:44330/ - - [10:50:22 ERR] Connection id "0HME07R6P1V4E", Request id "0HME07R6P1V4E:0000000F": An unhandled exception was thrown by the application. System.InvalidOperationException: Cannot find compilation library location for package 'ConfigureAwait.Fody' at Microsoft.Extensions.DependencyModel.CompilationLibrary.ResolveReferencePaths(ICompilationAssemblyResolver resolver, List`1 assemblies) at Microsoft.Extensions.DependencyModel.CompilationLibrary.ResolveReferencePaths() at Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPartExtensions.<>c.<GetReferencePaths>b__0_0(CompilationLibrary library) at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext() at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RazorReferenceManager.GetReferencePaths() at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RazorReferenceManager.GetCompilationReferences() at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) at System.Threading.LazyInitializer.EnsureInitialized[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RazorReferenceManager.get_CompilationReferences() at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.LazyMetadataReferenceFeature.get_References() at Microsoft.CodeAnalysis.Razor.CompilationTagHelperFeature.GetDescriptors() at Microsoft.AspNetCore.Razor.Language.DefaultRazorTagHelperBinderPhase.ExecuteCore(RazorCodeDocument codeDocument) at Microsoft.AspNetCore.Razor.Language.RazorEnginePhaseBase.Execute(RazorCodeDocument codeDocument) at Microsoft.AspNetCore.Razor.Language.DefaultRazorEngine.Process(RazorCodeDocument document) at Microsoft.AspNetCore.Razor.Language.DefaultRazorProjectEngine.ProcessCore(RazorCodeDocument codeDocument) at Microsoft.AspNetCore.Razor.Language.RazorProjectEngine.Process(RazorProjectItem projectItem) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(String relativePath) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.OnCacheMiss(String normalizedPath) --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageLoader.LoadAsyncCore(PageActionDescriptor actionDescriptor, EndpointMetadataCollection endpointMetadata) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoaderMatcherPolicy.ApplyAsyncAwaited(CandidateSet candidates, Task`1 actionDescriptorTask, Int32 index) at Microsoft.AspNetCore.Routing.Matching.DfaMatcher.SelectEndpointWithPoliciesAsync(HttpContext httpContext, IEndpointSelectorPolicy[] policies, CandidateSet candidateSet) at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.<Invoke>g__AwaitMatch|8_1(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task matchTask) at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.WebTools.BrowserLink.Net.BrowserLinkMiddleware.ExecuteWithFilterAsync(IHttpSocketAdapter injectScriptSocket, String requestId, HttpContext httpContext) at Microsoft.AspNetCore.Watch.BrowserRefresh.BrowserRefreshMiddleware.InvokeAsync(HttpContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application) [10:50:22 INF] Request finished HTTP/2 GET https://localhost:44330/ - - - 500 0 - 195.0034ms
-
0
-
0
-
0
Please share the project with me, liming.ma@volosoft.com
-
0
okok. wait a moment.
-
0
I have sent the mail.
The solution is create with ABP Suite 5.0.0.
but the original project version is 4.4.4.
I update the packages to abp 5.0.0 and changed the project net framework from NET 5.0 to NET 6.0.
-
0
-
0
I have re-install my Windows 11. The Instal VS 2020... SQL Server 2019 developer Redis ABP Suite abp login *** balabala Still get the same error!
[20:47:20 WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable`1 items, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext() [20:47:20 WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable`1 items, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext() [20:47:20 INF] Initialized all ABP modules. [20:47:20 INF] Now listening on: https://localhost:44330 [20:47:20 INF] Application started. Press Ctrl+C to shut down. [20:47:20 INF] Hosting environment: Development [20:47:20 INF] Content root path: D:\dev\gitlab\abp6\modules\Yee.Change.Rms\host\Yee.Change.Rms.IdentityServer [20:47:21 INF] Request starting HTTP/2 GET https://localhost:44330/ - - [20:47:21 ERR] Connection id "0HME0I8PNTSAI", Request id "0HME0I8PNTSAI:00000001": An unhandled exception was thrown by the application. System.InvalidOperationException: Cannot find compilation library location for package 'ConfigureAwait.Fody' at Microsoft.Extensions.DependencyModel.CompilationLibrary.ResolveReferencePaths(ICompilationAssemblyResolver resolver, List`1 assemblies) at Microsoft.Extensions.DependencyModel.CompilationLibrary.ResolveReferencePaths() at Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPartExtensions.<>c.<GetReferencePaths>b__0_0(CompilationLibrary library) at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext() at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RazorReferenceManager.GetReferencePaths() at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RazorReferenceManager.GetCompilationReferences() at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) at System.Threading.LazyInitializer.EnsureInitialized[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RazorReferenceManager.get_CompilationReferences() at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.LazyMetadataReferenceFeature.get_References() at Microsoft.CodeAnalysis.Razor.CompilationTagHelperFeature.GetDescriptors() at Microsoft.AspNetCore.Razor.Language.DefaultRazorTagHelperBinderPhase.ExecuteCore(RazorCodeDocument codeDocument) at Microsoft.AspNetCore.Razor.Language.RazorEnginePhaseBase.Execute(RazorCodeDocument codeDocument) at Microsoft.AspNetCore.Razor.Language.DefaultRazorEngine.Process(RazorCodeDocument document) at Microsoft.AspNetCore.Razor.Language.DefaultRazorProjectEngine.ProcessCore(RazorCodeDocument codeDocument) at Microsoft.AspNetCore.Razor.Language.RazorProjectEngine.Process(RazorProjectItem projectItem) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(String relativePath) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.OnCacheMiss(String normalizedPath) --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageLoader.LoadAsyncCore(PageActionDescriptor actionDescriptor, EndpointMetadataCollection endpointMetadata) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoaderMatcherPolicy.ApplyAsyncAwaited(CandidateSet candidates, Task`1 actionDescriptorTask, Int32 index) at Microsoft.AspNetCore.Routing.Matching.DfaMatcher.SelectEndpointWithPoliciesAsync(HttpContext httpContext, IEndpointSelectorPolicy[] policies, CandidateSet candidateSet) at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.<Invoke>g__AwaitMatch|8_1(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task matchTask) at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.WebTools.BrowserLink.Net.BrowserLinkMiddleware.ExecuteWithFilterAsync(IHttpSocketAdapter injectScriptSocket, String requestId, HttpContext httpContext) at Microsoft.AspNetCore.Watch.BrowserRefresh.BrowserRefreshMiddleware.InvokeAsync(HttpContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application) [20:47:21 INF] Request finished HTTP/2 GET https://localhost:44330/ - - - 500 0 - 195.3752ms
-
0
I installed newest ABP Suite. Then I create a new module solution. All Volo.Abp asseblies are 5.0.0. Then I create database use dotnet ef database update Start project in debug Mode via VS 2022 got the same error as before.
What happend? How to do? I stay here for 2 days!
-
0
I have found out the problem!.
becuase there are no assembly in host\Yee.Change.Rms5.IdentityServer\bin\Debug\net6.0.
I copy the Assmbly 'ConfigureAwait.Fody' into 'bin\Debug\net6.0.'. Then throw new exception that can not found ''System.Security.Cryptography.Pkcs". I copy the Assmbly 'System.Security.Cryptography.Pkcs.dll' into 'bin\Debug\net6.0.'
The I successfully run the Identity Server and logged in!
-
0
We have not encountered such a thing.
-
0
I have resolved the problem.
The reason is from the permissions of the folder on Windows operatin system.
I have configured the global packages folder for NuGet.
After I re-install the Windows 11, the owner of above global foder has lost.
So, sometimes , VS 2022 can not wirte files into the global folder.
and I stored my projects under a global foder which hase above problem also.
After I reset the permisions of the folder, the problem resolved.