Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.5.5631.0

Encountered the above error after trying to update Excel and CloseXML packages via Configure Sources in package manager.

Could not load file or assembly ‘DocumentFormat.OpenXml, Version=2.5.5631.0
Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.

This issue is because you are using ClosedXML and use that you must refer DocumentFormat.OpenXml.dll

Copy DocumentFormat.OpenXml.2.5 folder from C:\Users<User>\AppData\Local\UiPath\Activities from your development/test server to the production system C:\Users<User>\AppData\Local\UiPath\Activities folder

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.