Compilation Error, user-mapped section open, UiPath 2023.10.4

I am a university professor and I have two students who are having compilation problems with UiPath Academic Alliance version 2023.10.4 with a very simple bot. The bot only contains an input dialog box and a write line.

One student was writing UiPath to OneDrive, so I asked him to create a folder on his C: drive. The error remained unchanged.

I can run the bot on my computer using UiPath Academic Alliance version 2023.4.4 with no errors.

Error: “The requested operation cannot be performed on a file with a user-mapped section open.”

Could there be a package that needs to installed or updated?

Screen Capture:

BOT:
NewProcessTemp.zip (2.3 KB)

Error Log:
15:09:05.5714 => [WARN] [UiPath.Studio] [1] Studio version: 23.10.4+Branch.support-v23.10.Sha.8567215fe1303e230aedf0a4b2fe0be25bb57ca8
15:09:07.6465 => [WARN] [UiPath.Studio] [1] Session id: 536ab192-cfd0-4cdf-b948-d08bd20a8117
15:09:11.0840 => [WARN] [UiPath.Studio] [1] Office version: O365
15:09:11.0840 => [WARN] [UiPath.Studio] [1] Office build version: 16.0.17425.20146
15:15:28.8441 => [WARN] [UiPath.Studio] [1] GetCompilableWorkflows: allWfCount = 2, normalizedDistinctWfCount = 1
15:17:08.5480 => [WARN] [UiPath.Studio] [1] GetCompilableWorkflows: allWfCount = 2, normalizedDistinctWfCount = 1
15:18:24.6886 => [WARN] [UiPath.Studio] [1] GetCompilableWorkflows: allWfCount = 2, normalizedDistinctWfCount = 1
15:18:32.6734 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [79] Unexpected error has occurred during the library compilation process:
The requested operation cannot be performed on a file with a user-mapped section open. : ‘C:\Users\bam57\OneDrive\Documents\UiPath\CookieMonsterExample.local\install\CookieMonsterExample_Expressions_Main.dll’
15:18:32.6730 => [ERROR] [UiPath.Studio] [79] Unexpected error has occurred during the library compilation process:
The requested operation cannot be performed on a file with a user-mapped section open. : ‘C:\Users\bam57\OneDrive\Documents\UiPath\CookieMonsterExample.local\install\CookieMonsterExample_Expressions_Main.dll’
15:18:47.6608 => [WARN] [UiPath.Studio] [1] GetCompilableWorkflows: allWfCount = 2, normalizedDistinctWfCount = 1
15:18:56.2918 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [85] Unexpected error has occurred during the library compilation process:
The requested operation cannot be performed on a file with a user-mapped section open. : ‘C:\Users\bam57\OneDrive\Documents\UiPath\CookieMonsterExample.local\install\CookieMonsterExample_Expressions_Main.dll’
15:18:56.2920 => [ERROR] [UiPath.Studio] [85] Unexpected error has occurred during the library compilation process:
The requested operation cannot be performed on a file with a user-mapped section open. : ‘C:\Users\bam57\OneDrive\Documents\UiPath\CookieMonsterExample.local\install\CookieMonsterExample_Expressions_Main.dll’
15:24:29.7194 => [WARN] [UiPath.Studio] [1] GetCompilableWorkflows: allWfCount = 2, normalizedDistinctWfCount = 1
15:24:38.1538 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [14] Unexpected error has occurred during the library compilation process:
The requested operation cannot be performed on a file with a user-mapped section open. : ‘C:\TempUIPath\NewProcessTemp.local\install\NewProcessTemp_Expressions_Main.dll’
15:24:38.1545 => [ERROR] [UiPath.Studio] [14] Unexpected error has occurred during the library compilation process:
The requested operation cannot be performed on a file with a user-mapped section open. : ‘C:\TempUIPath\NewProcessTemp.local\install\NewProcessTemp_Expressions_Main.dll’

hi @cmiles.

The error message indicates a file is currently open and likely unrelated to the input dialog box and write line.

Have they tried:

  • Restart computer
  • Create a new bot from scratch
  • Check that only one instance of UiPath is running

It’s always a good idea to check package versions under “Manage Packages”.
It’s generally recommended to always use latest stable version but sometimes you may need to use older versions instead.

Yes, for one student, if the student reboots the computer, the bot will run one time and then fails on the second attempt.

For the second student the bot never runs. The student is able to repeatedly run a bot with only a message box containing “Hello World”.

Thank you for the suggestions!

Do you know of any specific packages that should be checked for this problem?