Hello,
I have two classes. IN one of them I have a code:
new InteropPermission(InteropKind::ClrInterop).assert(); workbook.Close(true, fullFileName, missing); application.Quit(); CodeAccessPermission::revertAssert();
where workbook is Microsoft.Office.Interop.Excel._Workbook
on the string
workbook.Close(true, fullFileName, missing);
It stops the logic processing without giving any errors.
Also I have another class with the code inside:
System.Net.Mail.Attachment
Which gives me an error
CLRObject can't be created.
Both classes work fin on one AOS and do not work on the other so I suppose it's something to do with the either settings of the problematic AOS or some external libraries.
How to troubleshoot this?
Thanks.