cicd-integrations
2024.10
true
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

Benutzerhandbuch zu CI/CD-Integrationen

Letzte Aktualisierung 23. Mai 2025

Fehlerbehebung bei der UiPath-CLI

Wenn bei der Verwendung der UiPath-CLI Probleme auftreten, ziehen Sie die folgenden Problembehandlungsszenarien in Betracht.

Probleme im Zusammenhang mit der .NET -Version

Beschreibung:

Bei UiPath-CLI-Aufgaben und Pipelinevorgängen können Probleme auftreten, wenn die richtige Version des .NET -Frameworks nicht auf Ihrem System installiert ist (oder fehlt).

Wenn dieses Problem auftritt, können Fehlermeldungen auftreten wie:

  • You must install or update .NET to run this application.
    App: C:\Program Files (x86)\UiPath CLI\UiPath.CLI.Windows.23.10.8894.39673\tools\uipcli.exe
    Architecture: x64
    Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
    .NET location: C:\Program Files\dotnet
    The following frameworks were found:
    8.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    8.0.8 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]You must install or update .NET to run this application.
    App: C:\Program Files (x86)\UiPath CLI\UiPath.CLI.Windows.23.10.8894.39673\tools\uipcli.exe
    Architecture: x64
    Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
    .NET location: C:\Program Files\dotnet
    The following frameworks were found:
    8.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    8.0.8 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  • An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified. Failed to run the command. UiPath.CommandLine.Exceptions.CommandException: Packaging failed due to one or more errors.
    Message: An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified.
    Error at: System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified. Failed to run the command. UiPath.CommandLine.Exceptions.CommandException: Packaging failed due to one or more errors.
    Message: An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified.
    Error at: System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

Lösung:

Sie müssen sicherstellen, dass Sie die richtige .NET -Version installiert haben.
Die Kompatibilitätsmatrix für CLI- und .NET -Versionen finden Sie im Abschnitt Voraussetzungen .

Probleme im Zusammenhang mit Sonderzeichen in Kennwörtern von Verbindungszeichenfolgen

In den meisten Fällen werden Verbindungskennwörter in einzelne Anführungszeichen (') eingeschlossen. Wenn das Kennwort jedoch Sonderzeichen wie ` oder $ enthält, ist ein anderer Ansatz erforderlich.
In diesen Fällen muss das Kennwort wie \`"<password>\`" formatiert werden, wobei <password> durch das tatsächliche Kennwort ersetzt wird. Zudem müssen Sie die Escape-Regeln der folgenden Tabelle einhalten:

Originalformat in ADUC

Escape-Format in PowerShell-Zeichenfolge

cn=James $ Smith

"cn=James `$ Smith"

cn=Sally Wilson + Jones

"cn=Sally Wilson \+ Jones"

cn=William O'Brian

"cn=William O'Brian"

cn=William O`Brian

"cn=William O``Brian"

cn=Richard #West

"cn=Richard #West"

cn=Roy Johnson$

"cn=Roy Johnson$"

Beispiel:

Angenommen, das ursprüngliche Kennwort ist 7'8:<=XMe$y[@vC?_4ZeY8c-~y'W!1dU4gnczuf'/p>j<I. Gemäß Escape-Regeln für Sonderzeichen wird daraus: Password=\`"7'8:<=XMe`$y[@vC?_4ZeY8c-~y'W!1dU4```gnczuf'/p>```j<I\`".

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo White
Vertrauen und Sicherheit
© 2005–2025 UiPath. Alle Rechte vorbehalten