Hello,
is it possible to create Excel spreadsheets in CRM 2011 plugin or custom workflows?
I developed custom workflow (isolation mode None), which uses Microsoft.Office.Interop.Excel.dll.
This dll is dependant on COM Microsoft.Office.Core.dll (MSO.DLL), so it was also included as reference into the project.
After registering this Custom Workflow and callling it in CRM 2011, I got error:
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
The problem is that COM dlls cannot be registered into GAC. In development server there is Office installed, hence MSO.DLL exists.
Any ideas how to call this external dll? Is there any other way to create Excel documents in plugins/custom workflows?
Best regards,
povversas
*This post is locked for comments