Invoke Method not working in 2018.3.0 community version release

Hi All,

I have developed a bot to unzip the files using the solution in Enterprise Edition 2018.2.3 and is working totally fine.

However, when the same bot is running in community version 2018.3.0 it is giving the error :

Source: Invoke method

Message: Could not load file or assembly ‘System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Exception Type: System.IO.FileLoadException

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.IO.FileLoadException: Could not load file or assembly ‘System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ----> System.IO.FileLoadException: Could not load file or assembly ‘System.IO.Compression, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

— End of inner ExceptionDetail stack trace —
at System.Activities.Statements.MethodExecutor.InvokeAndUnwrapExceptions(Func`3 func, Object targetInstance, Object actualParameters)
at System.Activities.Statements.MethodResolver.SyncMethodExecutor.BeginMakeMethodCall(AsyncCodeActivityContext context, Object target, AsyncCallback callback, Object state)
at System.Activities.Statements.MethodExecutor.BeginExecuteMethod(AsyncCodeActivityContext context, AsyncCallback callback, Object state)
at System.Activities.Statements.InvokeMethod.BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, Object state)
at System.Activities.AsyncCodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Is it something related to the version 2018.3.0? Or is there any way around this?

Please Help!

This is something only UiPath support team can answer.

If its not too late.
Here is what you do.

Open your workflow and then click on Import
Then in the text box enter the namespace ‘System.IO.Compression’ and select it. Save and nownyou should be good to go :slight_smile:

Thanks @nadim.warsi

1 Like

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