Could not load type ‘UiPath.IntelligentOCR.Activities.Utils.IocrDesignerContractAccessProvider’ from assembly ‘UiPath.IntelligentOCR, Version=6.27.2.0, Culture=neutral, PublicKeyToken=null’.
Error: System.Exception: Could not load type ‘UiPath.IntelligentOCR.Activities.Utils.IocrDesignerContractAccessProvider’ from assembly ‘UiPath.IntelligentOCR, Version=6.27.2.0, Culture=neutral, PublicKeyToken=null’.
at UiPath.IntelligentOCR.Activities.Utils.IocrContextExtensions.GetIocrAccessProvider(ActivityContext context)
at UiPath.IntelligentOCR.Activities.Design.DuAppActivityDesignerCommon.LoadAssetList()
at UiPath.IntelligentOCR.Activities.Design.DuAppActivityDesignerCommon.OnLoaded(Object s, RoutedEventArgs e)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233054
I have tried playing around the version of the dependancy but no success.
Current versions are:
Package
Version
UiPath.IntelligentOCR.Activities
6.27.2
UiPath.DocumentUnderstanding.Activities
2.17.2
UiPath.DocumentUnderstanding.ML.Activities
1.36.2
Kindly help me with this topic @Rajnish_Pandey is my another id. please feel free to put your thoughts in the chat
This is a compatibility issue. You’re using UiPath Studio 26.x (STS) with UiPath.IntelligentOCR.Activities 6.27.2, which is not compatible. In Studio 26, some designer contracts used by older Intelligent OCR versions were removed/refactored, which causes this error.
Upgrade packages to versions compatible with Studio 26:
UiPath.IntelligentOCR.Activities → 6.30.x or higher
UiPath.DocumentUnderstanding.Activities → 2.19.x or higher
UiPath.DocumentUnderstanding.ML.Activities → 1.38.x or higher
After upgrading, restart Studio and reopen the project.
Alternative:
If you must stay on Intelligent OCR 6.27.2, downgrade Studio to 2024.10 LTS.
Mixing Studio 26 + Intelligent OCR 6.27.x will not work.
Since this is a POC and I am using Community Edition, due to which while downloading the Studio I am only get 2026 version and the highest version that I have for the packages are
|Package| |Version|
|—|—|
|UiPath.IntelligentOCR.Activities |6.27.2|
|UiPath.DocumentUnderstanding.Activities |2.17.2|
|UiPath.DocumentUnderstanding.ML.Activities|1.36.2|
What can I do to resolve this
is there a way by which I can get 24 studio or maybe higher packages versions
With Community Edition, only Studio 26.x is available, and Intelligent OCR 6.27.2 is not compatible with it. To use this OCR version, Studio 2024.x (Enterprise) is required; otherwise, you must switch to DU activities compatible with Studio 26.
The error happens because the IntelligentOCR package version is not compatible with your Studio or other Document Understanding packages. Try downgrading or upgrading UiPath.IntelligentOCR.Activities to match the DU and ML package versions, reinstall the packages cleanly, and restart Studio. This usually fixes the missing type issue.