LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Report generation error in EXE

Solved!
Go to solution
Hi Community

I Reinstalled the Report generation Toolkit for some reason. after that some Vi's are broken so I changed those broken Vi's with the help of below links
 
Now I am able to Build the EXE but If I run the Application I cannot generate the Report file. In source code the report generation works fine. I can able to generate the Report file.
 
In EXE, if I try to generate the report file Error 7 occurs. Please find the attached screenshot for your reference,
 
5d8f8ddc-b59f-47bf-af3e-7fa498a8e863.png98d5fcca-2d09-4147-8325-551047a0b3ee.pngScreenshot 2024-10-18 103503.png
 
Here I mention some possible solutions I tried from my side,
  1. Mass compile.
  2. Added the proper .lvclass files to my project and added the class files to the Always Included list.
Note:
  1. Excel is Licensed and the bit also same with LabVIEW bit (both are 64 bit).
  2. Reinstalled the LabVIEW + suit.
Please give me some solution to resolve this issue as earlier as possible.
 
0 Kudos
Message 1 of 5
(3,588 Views)

Yu did not mention your LabVIEW version.

0 Kudos
Message 2 of 5
(3,513 Views)

LabVIEW Version is 2024 Q1

0 Kudos
Message 3 of 5
(3,498 Views)
Solution
Accepted by topic author Gowtham@tcf

Could you attach the VI that contains the "Create Report" function?  That seems to be causing the failure.  Are you providing a "Template" input?  Is the file accessible when you are in Execution mode?  [There are ways to handle external files that work in both Development and Execution modes ...].

 

Many long-time LabVIEW users aren't using LabVIEW 2024 yet, so it would be more useful if you could use "Save for Previous Version" and specify, say, LabVIEW 2019 or 2021 when you attach the requested file mentioned above.

 

Bob Schor

Message 4 of 5
(3,473 Views)

The issue with report generation was caused by a corrupted template file. After replacing the crashed template, the system is functioning properly. This error was not related to the report generation toolkit or a LabVIEW issue, but was solely due to the corrupted template.

 

The issue is now resolved, Thank you for your assistance.

 

Gowtham

0 Kudos
Message 5 of 5
(3,462 Views)