I have invoke code that has vb.net code throwing an exception.
How to debug this code and fix the issue? The exception is not showing any reason.
thanks a lot
I have invoke code that has vb.net code throwing an exception.
How to debug this code and fix the issue? The exception is not showing any reason.
thanks a lot
Hi,
Can you check content of $exceptionDetails at Locals panel when error occurred in debug mode? There will be detailed information about it.
Regards,
RemoteException wrapping System.ArgumentException: No compiled code to run
error BC31539: Cannot find the interop type that matches the embedded type ‘Microsoft.Office.Interop.Excel.Application’. Are you missing an assembly reference? At line 1
error BC31539: Cannot find the interop type that matches the embedded type ‘Microsoft.Office.Interop.Excel.Workbook’. Are you missing an assembly reference? At line 2
error BC30002: Type ‘Microsoft.Office.Interop.Excel.Worksheets’ is not defined. At line 3
Hi,
It may be similar issue with the following topic.
For now, can you try to add Assign activity like the above post?
Regards,
Could not fix the issue. Looking for pointers. Thank you,
Does the Assign activity throw the same error?
o is what data type? I am getting an error saying that System.Text.Encodings.Web.JavaScript…cannot be converted to String type.
thank you
Can you please show which code is throwing error or tell what youa re trying to do
cheers
I have invoke code.
Using some microsoft.office.interop.excel for doing some excel.
.
Thank you,
Hi,
The above post is just sample.
Can you try as the following?
o = New Microsoft.Office.Interop.Excel.Application()
o is object type.
Regards,
upgrading packages automatically fixed the issue. Hope not to see the errors again. thank you.