LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build Application Error

I am consistently getting an Error 26071 when I try to build my application to make an .EXE.  I am usling LV6.1, and Application Builder for it.  The app. works just fine from within LV itself.  There are no errors.
 
Specifically, the error message is "Error 26071 occurred at Build Application.vi >> Dist Call Create Installer.vi >> Win Install Create.vi >> Win Install Add Files.vi >> MSI DK Add Shortcut.vi", with possible reasons stated as "Windows GetCommError:  The hex value if the code us x65D7".
 
This code used to build just fine before I added some code using the Winevent.llb library, retrieved from NI.  I had done a mass recompile on it and my code, just in case there was LV version compatibility issues.  I also copied the specific vi's from Winevent into my library and did another mass compile, to no avail.  I am using VISA serial port vi's (the GetCommError made me think this might be related).
 
Any ideas on what I'm doing wrong or what I'm missing?
 
Jeff
0 Kudos
Message 1 of 9
(3,411 Views)
Please help... I can't finish this until I get past this.  TIA.
0 Kudos
Message 2 of 9
(3,389 Views)
Check out this knowledge base here and let me know if that helps solve your issue.
 
Tyler H.
National Instruments
0 Kudos
Message 3 of 9
(3,380 Views)
Yup, that got it.  Thanks.  And I did search the knowledge base.  Just not too well.
0 Kudos
Message 4 of 9
(3,376 Views)

Could you please tell me how did you solve it because I'm having the same problem and the link of the page in the replies is missing.

It will be highly appreciated if you could help me.


@MPython wrote:
 
Yup, that got it.  Thanks.  And I did search the knowledge base.  Just not too well.

 

0 Kudos
Message 5 of 9
(2,610 Views)

Hi Haitham,

 

you are replying in a 13 year old thread.

Are you really still using LabVIEW 6.1?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 9
(2,606 Views)

Try and register MATLAB as a COM server. You should be able to do so by following either of the links:

0 Kudos
Message 7 of 9
(2,601 Views)

Hi GerdW

thank you for your prompt response.

Yes, I'm still using it since our application is rather old.

I made some modifications on some VIs within it, mass compile it with no errors

but still have this problem at the end stage of building the application.

I know this is very old , but I thought that you could remember anything that could help. 🙂 

0 Kudos
Message 8 of 9
(2,590 Views)

Hi Everyone

 

It seems that the problem was resolved after I made Mass compile a couple of times.

I'm not sure why did that happened but things went fine and the application is running.

Thank you all.

Best regards;Heart

Message 9 of 9
(2,572 Views)