LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The remote procedure call failed. in NI_ReportGenerationToolkit.lvlib

My application was working fine until now.

 

I get the following error when I try to print a report:

 

The remote procedure call failed.
in NI_ReportGenerationToolkit.lvlib:Word_Open.vi->NI_Word.lvclass:new report subVI.vi->NI_report.lvclass:Create Report.vi->Open Template - Search and Replace.vi->Contoller.lvlib:Top Level print.vi

 

The error originates in NI_ReportGenerationToolkit.lvlib:Word_Open.vi as shown below:

 

error.png

 

I have microsoft professional plus 2019 and am using windows 10 pro.

 

Any ideas why it is failing?

 

 

0 Kudos
Message 1 of 2
(2,328 Views)

In my code, I open a template to get information and then close it before opening it again. 

 

I fixed the issue by inserting a 5 second delay.  Must be something to do with Word 2019 as this had been working seamlessly for over a year!

0 Kudos
Message 2 of 2
(2,307 Views)