Export translation file to Word gives error 'Exception has been thrown by the target of an invocation'

Sep 07, 2017

Hi all,

I wanted to export a file for proofreading purposes from Articulate Storyline 360, but encountered an error when exporting the word file. I had done this before with Articulate 1 for my previous employer, so theoretically I know what I am doing. However, I keep receiving the error.

I have checked for weird letters or a too long path, but cannot find anything out of the ordinary

I have recorded what happened with Peek:

https://360.articulate.com/review/content/83fb8bb7-53dd-4031-a660-f6383be9b3a4/review

43 Replies
Leslie McKerchie

Hello Genevieve and welcome to E-Learning Heroes :)

Thanks for reaching out, but I'm not sure what solution did not work for you.

  • Is Word open while you're trying to export?
  • Are Word and Storyline installed in the same environment with the same permissions? i.e., both installed on Windows 10 in Parallels for Mac using admin permissions
  • Are you on the latest update of Storyline, which is Build 3.26.18364.0, and using a supported Word version? 
  • Are you saving the .story file and the .doc file to a local destination, following along with the other guidelines here? 
  • Do you see the same error message if you open a new file and export to Word? 
Leslie McKerchie

Hi Phil,

Thanks for reaching out, but I'm not sure we have a single issue that we have reported or that we could update you on. The issues have all been unique to the users and their environment.

I'd be happy to help you as well though:

  • Is Word open while you're trying to export?
  • Are Word and Storyline installed in the same environment with the same permissions? i.e., both installed on Windows 10 in Parallels for Mac using admin permissions
  • Are you on the latest update of Storyline, which is Build 3.28.18944.0, and using a supported Word version? 
  • Are you saving the .story file and the .doc file to a local destination, following along with the other guidelines here? 
  • Do you see the same error message if you open a new file and export to Word? 
Katie Riggio

Good morning, everyone!

Thanks for taking the time to raise this issue. We can recreate the error, 'Exception has been thrown by the target of an invocation' when exporting a text-heavy Storyline 360 file to Word. 

Current workarounds:

  1. Split the project into multiple parts by doing a Save As on the original .story file to reduce the number of slides
  2. Export and translate the translation documents and then import them into the original .story file
  3. Or, closing all Office applications can help

So sorry for the trouble, and I'll keep this discussion updated on any more changes!

Oscar Gagliardi, Jr.

I like to report that I was having the same issue. I closed all the Microsoft Office applications with the exception of Outlook and I was still having the issue. As soon as I closed Outlook, the problem disappeared. Suggestion for Articulate. Place a reminder on the pop-up for the export in Storyline, to alert users to close all Microsoft Office applications before initiating the export.

Thank you.

bdane@humtech.com Dane

You all need to work a little harder at this function.  What a nightmare.  I have a course with 13 lessons and an assessment scene, totaling 219 slides.  I have a powerhouse of a PC - latest AMD Ryzen CPU, 64GB RAM, MVME drives (plural), 8GB GPU, it's a beast.  And even it couldn't get Storyline to export unless I made multiple copies of my .story file and created 2-3 lesson chunks of the content to get it to export.  I tried exporting to different drives, restarting Windows with only Storyline 360 running, followed all the advice above, and still it would bomb with that message about "exception has been thrown by the target of an invocation".

Admittedly, I'm using this "feature" because it's the only way of getting actual text to export out of Storyline.  It would be so awesome if the publish to Word function did more than just export a screenshot and whatever notes might be there (I don't use notes).

Developer 2

We have done testing on a number of different files and so far it appears the issue may actually lie with the number of slides being translated. Our testing found that if the number of slides exceeds ~70, the exception error is more likely to be thrown. This has not yet been 100% confirmed, but it is our current working theory. It's possible there is a combination between the number of slides and the amount of text in the course. We have also tested the above process and can confirm it works.

This is our current/new translation process:

  1. Attempt to export from the file as is. If an error occurs, note the number of slides and proceed to step 2.
  2. Using Save As, create duplicate .story files for each section in the course.
  3. Export a translation document from each new .story file. [if you get another error, note the number of slides and use Save As to split that section up further]
  4. Once you have all of the translation documents, the duplicate .story files are no longer necessary and can be deleted.
  5. Send documents for translation.
  6. Import all translated documents into the original .story file.

Hopefully this helps everyone out there experiencing this issue, and maybe those tasked with solving the problem.

Lauren Connelly

Hi all!

I'm so excited to share that we've released Storyline 360 (Build 3.49.24347.0) which includes Enhanced Word Translation!

This feature fixes the issue where the error, 'Exception has been thrown by the target of an invocation' appeared when exporting a text-heavy Storyline 360 file to Word. 

To take advantage of this new feature and other fixes, make sure to update Storyline 360 in the Articulate 360 Desktop App. Here are the steps!

Jonathan Vetter

FYI, I had the same issue.  It seems to have solved itself after I first closed MS Word (and Storyline 360), then opened the Storyline file and started the TX export.

And I also made sure it was exporting to a completely local file. (However, I had been successfully exporting to Dropbox with 2 other files previously.)