Microsoft.Dynamics.Nav.OpenXML. Spreadsheet.WorkbookWriter.create failed

Hi,

While executing the report “Print to Excel” ticked as true and getting error as shown below,
A call to Microsoft.Dynamics.Nav.OpenXML.Spreadsheet.WorkbookWriter.create failed with this message: The document type is invalid. Verify the file extension.

I Already installed the “Open XML SDK 2.5 for Microsoft Office” which is available in NAV2016 product. I used NAV 2016 CU10 product for this. “Excel Add-in” installation also done in my computer.

suggest me the solution.

Regards,

Baba Guru.

remove excel addin
remove and reinstall openxml 2.5

Hi,

Did you find any solution for the same??
I’m also facing the same issue.

Hi,
Did you try to remove and reinstall as Jonathan suggested?