Can't execute SAP Logon

Hello Friends,

I’m using SAP Logon:

“SAP Logon: Could not load file or assembly ‘System.Diagnostics.DiagnosticSource, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. The system cannot find the file specified.”

here are the dependencies:

“dependencies”: {
“BalaReva.EasyExcel.Activities”: “[32.0.0]”,
“UiPath.Credentials.Activities”: “[2.1.0]”,
“UiPath.Excel.Activities”: “[3.0.1]”,
“UiPath.Form.Activities”: “[25.2.1]”,
“UiPath.Mail.Activities”: “[1.21.1]”,
“UiPath.System.Activities”: “[24.10.7]”,
“UiPath.UIAutomation.Activities”: “[25.10.1]”,
“UiPathTeam.AttendedRobotStatus.Activities”: “[2.0.0]”,
“UiPathTeam.Excel.Extensions.Activities”: “[2.1.2]”
},
“webServices”: ,
“entitiesStores”: ,
“schemaVersion”: “4.0”,
“studioVersion”: “23.10.11.0”,
“projectVersion”: “1.0.0”,
“runtimeOptions”: {
“autoDispose”: false,
“netFrameworkLazyLoading”: false,
“isPausable”: true,
“isAttended”: false,
“requiresUserInteraction”: true,
“supportsPersistence”: false,
“workflowSerialization”: “DataContract”,
“excludedLoggedData”: [
“Private:*”,
password
],
“executionType”: “Workflow”,
“readyForPiP”: false,
“startsInPiP”: false,
“mustRestoreAllDependencies”: true,
“pipType”: “ChildSession”
},
“designOptions”: {
“projectProfile”: “Developement”,
“outputType”: “Process”,
“libraryOptions”: {
“includeOriginalXaml”: false,
“privateWorkflows”:
},
“processOptions”: {
“ignoredFiles”:
},
“fileInfoCollection”: ,
“modernBehavior”: true,
“saveToCloud”: false
},
“expressionLanguage”: “CSharp”,
“entryPoints”: [
{
“filePath”: “Main.xaml”,
“uniqueId”: “8f4137d5-2e90-47f6-beb1-c3599b829ea7”,
“input”: ,
“output”:
}
],
“isTemplate”: false,
“templateProjectData”: {},
“publishData”: {},
“targetFramework”: “Windows”
}

Hey @abdel have you enable the scripting from server side as well as from client side .that the first thing you have to do before working with SAP.

cheers

yes i did, the code was working until yesterday, for undefined reason i begin to have problem

@abdel can you check System.Diagnostics.DiagnosticSource is installed, dependencies are restored, and binding redirects are properly configured, this should resolve the error related to the missing assembly.

cheers

@abdel,

Try this approach.

  1. Close the project from Studio
  2. Take backup of project.json
  3. Delete the project.json
  4. Open the project
  5. Let the studio rebuild the project.json and restore dependencies
  6. Now check if the error persists.

i’ve done that but still the same issue, now i’m trying to add the DLL

@abdel

go to c:\users\username.nuget and rename the packages folder to any other name and reopen the project and check

cheers