Dear Sir,
The following issue is occurred while users are trying to export data using Excel Buffer Table.
A call to Microsoft.Dynamics.Nav.Integration.Office.Excel.ExcelHelper.CallOpen failed with this message: Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass' to interface type 'Microsoft.Office.Interop.Excel._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{000208D5-0000-0000-C000-000000000046}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
But it's working fine in the NAV tier (system).
How to solve it.
Kindly reply.
Now or Never
0
Answers
If "some users", have you tried to do a quick repair of Office in their machines ?
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
All users are facing the same, but when I do the same in NAV Server, it's working fine.
I have repaired the MS Office several times, but it does not solve my issue.
All are same version.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
I have noticed that the file is generated on the client PC silently but not able to open the same............
Yury
Yes
Yury
Yes, users are able to open
Yury
Client has no developer Environment installed. BTW, client does not able to compile the Excel Buffer Table because client has few/one missing library..
You will need to go to regedit.exe and remove any keys related to office:
HKEY_CLASSES_ROOT\TypeLib\
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book