Open Closed

Error installing ABP.Suite #9170


User avatar
0
stephenhynds created

When installing ABP Suite I get the following error:

C:\Webs\R3\aspnet-core>abp suite
[16:47:23 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[16:47:24 INF] Installing ABP Suite latest version...
Unhandled exception: System.IO.IOException: The process cannot access the file '\?\C:\Users\StephenHynds.dotnet\tools.store.stage\gdjs5e5i.qah\volo.abp.suite\9.1.1\tools\net9.0\any' because it is being used by another process.
at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
at Microsoft.DotNet.Cli.ToolPackage.ToolPackageDownloader.<>c__DisplayClass8_0.<InstallPackage>b__1()
at Microsoft.DotNet.Cli.TransactionalAction.EnlistmentNotification.Rollback(Enlistment enlistment)
at System.Transactions.VolatileEnlistmentAborting.EnterState(InternalEnlistment enlistment)
at System.Transactions.TransactionStateAborted.EnterState(InternalTransaction tx)
at System.Transactions.Transaction.Rollback()
at System.Transactions.TransactionScope.InternalDispose()
at System.Transactions.TransactionScope.Dispose()
at Microsoft.DotNet.Cli.TransactionalAction.Run[T](Func`1 action, Action commit, Action rollback)
at Microsoft.DotNet.Tools.Tool.Install.ToolInstallGlobalOrToolPathCommand.<>c__DisplayClass23_0.b__1()
at Microsoft.DotNet.Tools.Tool.Install.ToolInstallGlobalOrToolPathCommand.RunWithHandlingInstallError(Action installAction, PackageId packageId)
at Microsoft.DotNet.Tools.Tool.Install.ToolInstallGlobalOrToolPathCommand.ExecuteInstallCommand(PackageId packageId)
at Microsoft.DotNet.Tools.Tool.Install.ToolInstallGlobalOrToolPathCommand.Execute()
at Microsoft.DotNet.Tools.Tool.Install.ToolInstallCommand.Execute()
at System.CommandLine.Invocation.InvocationPipeline.Invoke(ParseResult parseResult)
at System.CommandLine.ParseResult.Invoke()
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
[16:48:03 INF] You can also run the following command to install ABP Suite.
[16:48:03 INF] dotnet tool install -g Volo.Abp.Suite --add-source https://nuget.abp.io//v3/index.json
[16:48:03 WRN] ABP Suite is not installed! To install it you can run the command: "abp suite install"

I have tried using the dotnet tool method and get the same error, and have tried versions other than 9.1.1 and also get the same error. A colleague is also seeing the same issue.

Any thoughts on how this can be resolved?


9 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    It seems some files are locked or cannot be accessed. Can you make sure ABP suite or ABP Studio isn't running while trying to open it with abp suite command.

    (Windows only) Here what I can suggest if you're not sure which process is working.

    taskkill /im dotnet* -f
    

    And then try to execute abp suite command

  • User Avatar
    0
    stephenhynds created

    Apologies for late reply, but this issue appears to be because Bitdefender is identifying Volo.Abp.Suite.dll as containing Malware:

    On-Access scanning has detected a threat. The file has been deleted.C:\Users\StephenHynds.dotnet\tools.store.stage\ymxm0yfs.h5s\volo.abp.suite\9.1.1\tools\net9.0\any\Volo.Abp.Suite.dll is malware of type IL:Trojan.MSILZilla.190641

    Are you aware of any issues in the current version of ABP Suite?

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi,

    Sorry to hear that. Probably it's a false-positive error. We heard some warnings related to ABP Studio but Suite. Can you try removing it and install standalone without using ABP Studio?

    dotnet tool uninstall -g volo.abp.suite
    dotnet tool install -g volo.abp.suite
    

    And then, do not use ABP Studio CLI, run abp suite directly by executing abp-suite command:

    abp-suite
    
  • User Avatar
    0
    stephenhynds created

    Unfortunately that didn't work. I'll see if I can get our systems admin to add an exclusion in Bitdefender to allow that file through.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Unfortunately that didn't work. I'll see if I can get our systems admin to add an exclusion in Bitdefender to allow that file through.

    Hi, we will check if the Volo.Abp.Suite.dll is containing Malware or not. Thanks for reporting.

  • User Avatar
    0
    mattw@agilenova.com created

    Hello, I have the same issue. Bitdefender is blocking it.

    Is there any update on this issue?

    Bitdefender 2025-05-07 at 12.17.15 AM.png

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hello, I have the same issue. Bitdefender is blocking it.

    Is there any update on this issue?

    Bitdefender 2025-05-07 at 12.17.15 AM.png

    Thanks for reporting. We will check the DLL and let you know.

  • User Avatar
    0
    alper created
    Support Team Director

    ABP Studio is automatically installing ABP Suite, which can cause a heuristic virus alert. We'll test the case against different virus apps. But it's a false-positive alert

  • User Avatar
    0
    mattw@agilenova.com created

    I tried excluding .dotnet/tools/.store/volo.abp.suite from scanning by adding it as Bitdefender exception. I then reinstalled and am getting a new error:

    % abp suite remove
    [09:36:48 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
    [09:36:49 INF] Removing ABP Suite...
    Tool 'volo.abp.suite' (version '9.1.2') was successfully uninstalled.

    % abp suite install
    [09:36:52 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
    [09:36:53 INF] Installing ABP Suite latest version...
    You can invoke the tool using the following command: abp-suite
    Tool 'volo.abp.suite' (version '9.1.2') was successfully installed.
    [09:37:01 INF] ABP Suite has been successfully installed.
    [09:37:01 INF] You can run it with the CLI command "abp suite"

    % abp suite
    [09:37:08 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
    Starting Suite v9.1.2 ...
    [09:37:10 FTL] Volo.Abp.Suite terminated unexpectedly!
    Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnPreApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.Suite.AbpSuiteWebModule, Volo.Abp.Suite, Version=9.1.2.0, Culture=neutral, PublicKeyToken=null: An invalid request URI was provided. Either the request URI must be an absolute URI or BaseAddress must be set.. See the inner exception for details.
    ---> System.InvalidOperationException: An invalid request URI was provided. Either the request URI must be an absolute URI or BaseAddress must be set.
    at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)
    at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
    at Volo.Abp.Cli.Http.CliHttpClientExtensions.<>c__DisplayClass1_01.<<GetHttpResponseMessageWithRetryAsync>b__2>d.MoveNext() in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Http\CliHttpClientExtensions.cs:line 81 --- End of stack trace from previous location --- at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates1 shouldRetryResultPredicates, Func5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable1 sleepDurationsEnumerable, Func4 sleepDurationProvider, Boolean continueOnCapturedContext)
    ...

    Please advise.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 15, 2025, 10:28