IvyTools

Please login or register.

Login with username, password and session length
Advanced search  

News:

SMF - Just Installed!

Author Topic: Problem with Open XML  (Read 3208 times)

userwhale

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Problem with Open XML
« on: May 08, 2020, 04:51:19 AM »

I am using bat script to call IvyTemplateEditor.exe and it worked well with version 1.49, but when trying to upgrade to 1.62 is gives: Error saving results to Excel: Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.7.2.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17' or one of its dependencies.
According to google it refers to a need for a new version of Open XML SDK 2.5 for Microsoft Office (https://www.microsoft.com/en-us/download/details.aspx?id=30425). I have not heard of it before. We have Office 2016. Should we just install that or could it be something else that has changed over the versions?
Logged

admin

  • Administrator
  • Full Member
  • *****
  • Posts: 33
    • View Profile
Re: Problem with Open XML
« Reply #1 on: May 11, 2020, 11:44:15 AM »

Hi, thank you for reporting this issue! We will check. If you have a moment could you send me the command that you are using to run IvyTemplateEditor.exe. This will help to make sure we are looking at the same thing. Please post it here or send me at support@ivytools.net

Thank you,
Andrew
Logged

userwhale

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: Problem with Open XML
« Reply #2 on: May 13, 2020, 03:32:24 AM »

I can reproduce the error with following line:
Code: [Select]
C:\Users\***\Desktop\ivytestbed\bat\IvyPdf>IvyTemplateEditor -e ..\test.PDF ..\page.xlsx ..\test3.tl Plaani_info
C:\Users\***\Desktop\ivytestbed\bat\IvyPdf>Error saving results to Excel: Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.7.2.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17' or one of its dependencies. Süsteem ei leia määratud faili.
Last bit is in local language and means: The system cannot find the specified file.
Logged

admin

  • Administrator
  • Full Member
  • *****
  • Posts: 33
    • View Profile
Re: Problem with Open XML
« Reply #3 on: May 13, 2020, 12:59:16 PM »

Thank you for providing the sample command! The issue should be fixed in the new version 1.62.2

Please download it from here and let me know if it solves the problem:

http://ivytools.net/downloads.html


Thank you,
Andrew
Logged

userwhale

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: Problem with Open XML
« Reply #4 on: May 27, 2020, 06:15:27 AM »

Thank you. It solved the problem. :)
Logged