robot
2023.4
false
- Release Notes
- Getting Started
- UiPath Assistant
- Installation and Upgrade
- Robot Types
- Robot Components
- Licensing
- Connecting Robots to Orchestrator
- Processes and Activities
- Logging
- Robot JavaScript SDK
- Specific Scenarios
- Restarting Robot Components
- Windows Sessions
- Login Using Thales Luna Credential System
- Login Using NShield Key Storage Provider
- Redirecting Robots Through a Proxy Server
- Executing Tasks in a Minimized RDP Window
- Using Mapped Network Drives
- Stopping a Process
- Disable Stop Button
- Custom Package Folders and Network Paths
- CrowdStrike Integration
- Robot Citrix Apps Virtualization
- Troubleshooting
- Unresponsive Robot Over RDP
- Duplicate Execution Logs
- Frequently Encountered Robot Errors
- Increased Process Execution Duration
- Enforced Package Signature Verification
- Message Too Large to Process
- Errors When Running as Administrator
- NuGet Packages Not Accessible After Migration
- User Access Control Prompt and UI Automation Activities
- .NET required during installation
- Assembly Cannot Be Loaded From Network Or Azure File Share
- Activities cannot find .NET Runtime
Assembly Cannot Be Loaded From Network Or
Azure File Share
Robot User Guide
Last updated Oct 25, 2024
Assembly Cannot Be Loaded From Network Or Azure File Share
Trying to run a package from a network path or an Azure File Share fails with the "
System.Xaml.XamlObjectWriterException: Cannot create unknown type [....]
" error.
For this scenario, the robot logs the following error message:
System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the
assembly to be sandboxed in previous versions of the .NET Framework.
The Azure File Share network URL where the package is found is not trusted by the robot machine or the account under which the robot runs does not have permissions to that location.