web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Creating Excel spreadsheets in CRM 2011 plugin or custom workflows

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    Aleksandar Totovic Profile Picture
    16,765 on at

    Hi, this is NAV forum, not CRM. If you need CRM forum, go to Communities - Microsoft Dynamics CRM.

  • povversas Profile Picture
    on at

    Sory for disturbance.

    povversas

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans