When I run ABP INSTALL-LIBS I am getting an error
[08:45:23 INF] ABP CLI (https://abp.io)
[08:45:23 INF] Version 5.3.3 (Stable)
[08:45:24 ERR] Access to the path 'C:\windows\system32\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\Content.IE5' is denied.
System.UnauthorizedAccessException: Access to the path 'C:\windows\system32\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\Content.IE5' is denied.
at System.IO.Enumeration.FileSystemEnumerator1.CreateRelativeDirectoryHandle(ReadOnlySpan
1 relativePath, String fullPath)
at System.IO.Enumeration.FileSystemEnumerator1.MoveNext() at System.Collections.Generic.List
1..ctor(IEnumerable`1 collection)
at System.IO.Directory.GetFiles(String path, String searchPattern, EnumerationOptions enumerationOptions)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at Volo.Abp.Cli.LIbs.InstallLibsService.FindAllProjects(String directory) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\LIbs\InstallLibsService.cs:line 99
at Volo.Abp.Cli.LIbs.InstallLibsService.InstallLibsAsync(String directory) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\LIbs\InstallLibsService.cs:line 44
at Volo.Abp.Cli.Commands.InstallLibsCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\InstallLibsCommand.cs:line 45
at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 161
at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 69
PS C:\windows\system32>
How do I get around this error?
So if I set Redis, IsEnabled: false in configuration this appears to stop and things seem to work. My question, how can I enable redis and not get this error? Is there a way to turn redis off for specific queries?
ABP Framework version: v5.1.2
UI type: Angular
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): yes
Exception message and stack trace: StackExchange.Redis.RedisTimeoutException
HResult=0x80131505
Message=Timeout performing HMGET (5000ms), inst: 424, qu: 61, qs: 0, aw: True, bw: Starting, rs: ReadAsync, ws: Idle, in: 0, in-pipe: 0, out-pipe: 0, serverEndpoint: 127.0.0.1:6379, mc: 1/1/0, mgr: 10 of 10 available, clientName: DESKTOP-2DFLJPM, IOCP: (Busy=0,Free=1000,Min=16,Max=1000), WORKER: (Busy=51,Free=32716,Min=16,Max=32767), v: 2.2.4.27433 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
Source=StackExchange.Redis
StackTrace:
at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2809 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor
1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 54
at StackExchange.Redis.RedisDatabase.HashGet(RedisKey key, RedisValue[] hashFields, CommandFlags flags) in //src/StackExchange.Redis/RedisDatabase.cs:line 324
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisExtensions.HashMemberGet(IDatabase cache, String key, String[] members)
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefresh(String key, Boolean getData)
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Get(String key)
at Volo.Abp.Caching.DistributedCache2.Get(TCacheKey key, Nullable
1 hideErrors, Boolean considerUow)
Steps to reproduce the issue:"
I have a contractor GetListAsync which returns contractors. The method was generated from the abp suite. I need to get all the records which currently is about 800. In the constructor of the class I am using this code
LimitedResultRequestDto.DefaultMaxResultCount = 1000; LimitedResultRequestDto.MaxMaxResultCount = 1000;
When I run the code, I am getting a redis error (above). How can I fix this so we do not get an error with redis?