LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building App Gives Error 6 about 50 - 80 - 99% of the time. Windows7, LabVIEW 2010 SP1

Hi

 

First off here is a link to a discussion of the problem.  http://forums.ni.com/t5/LabVIEW/Error-6-occurred-when-building-an-Executable-in-Labview-2009/m-p/997...

 

 

I have tried all the suggestions on this link with no luck.

 

Background:   have been using LabVIEW 2010 without problems since Sept, then I started getting the error 6 with the following message.

 

" Error 6 occurred at Delete in AB_Engine_Delete_Internal_Files.vi->AB_EXE.lvclass:Build.vi
->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller "

 

This started on one project and is now occurring on another project.  Sometimes it builds 50% of the time, other times I can't get it to build at all.  I have upgraded to SP1, no change.

 

Here are some things I have tried.

 

Moved build directory to c:\a

Renamed project, moved project right under c:\

Disabled Google , disabled Win indexing, disabled Win7 user acct. Control, run LabVIEW as Admit all the time, win explorer closed

mass compiling, closing the project, closing LabVIEW, re-booting

Unistalled LabVIEW 2010 SP1 and re-install, twice.

I believe I rebuilt my project in a new project.

 

I moved my projects to a WinXP system laptop I have, and they never get Error 6 !  Short term fix, but I have to use Win7.  So I hope this means it is not my code.

 

The funny thing is that this is totally random.  The unfunny thing is having to explain to a client I can't get my code to compile during a frustrating 95% of the time failure episode, yikes!

 

Any help and suggestions would be welcome.

 

BTW, the next step is to totally uninstall LabVIEW with a 'special' procedure and piece of code sent to me.  Don't want to, but am really at wits end.  Also waiting to hear back from my service ticket, but am desperate to have parallel solutions to try.

 

Thanks

 

-------
Mark Ramsdale
-------
0 Kudos
Message 1 of 8
(3,232 Views)

This sounds like the TK installer bug CAR number is 246340

That Bill and I beat on Here

 

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 8
(3,231 Views)

Hi,

 

Looked through the link, not sure how the GPS TK is related to the error 6. Was this solution posted in correct?

 

mr

-------
Mark Ramsdale
-------
0 Kudos
Message 3 of 8
(3,225 Views)

Sorry I posted in haste.  The bug the CAR refers to is common to several TKs that allow installation for LabVIEW 8.2, 8.5, 8.6 and Latest from the installation screen.  Certain dynamic links within the TKs are less than optimal and the bug was not discovered until after LabVIEW 2009 was no longer the "Latest"


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 8
(3,196 Views)

Thanks for the clarify.

 

 

I also meant to post this link.  It has a lot of info, this is the link I tried most if not all of the suggestions for.

http://forums.ni.com/t5/LabVIEW/Get-Error-6-about-50-of-time-when-building-Application/td-p/1242634

 

By the way, I was told that uninstalling LabVIEW will not resolve the issue, dodged a time killer 🙂

 

 

It seems the error is caused by Win7 and file reserving.  Waiting to hear back on that.  Have an SR.

 

Again, any suggestions welcomed, maybe some Win7 ideas from those who know more about it.

 

mr

 

-------
Mark Ramsdale
-------
0 Kudos
Message 5 of 8
(3,181 Views)

Mark,

 

I see that you have an SR please post the resolution or information about the SR here when it is finished 🙂

Sam S
Applications Engineer
National Instruments
0 Kudos
Message 6 of 8
(3,166 Views)

Hi,

 

My understanding is that ths is FAR from being resolved.  So I am soliciting andy info or tips or tricks that might pertain to Win7 reserving or taking control of files and folders.

 

mr

 

-------
Mark Ramsdale
-------
0 Kudos
Message 7 of 8
(3,155 Views)

Hi,

 

Some work around progress, see the following link ( also listed above)

 

http://forums.ni.com/t5/LabVIEW/Get-Error-6-about-50-of-time-when-building-Application/m-p/1610794#M...

 

Will post some results when tested.

 

Mark

 

 

-------
Mark Ramsdale
-------
0 Kudos
Message 8 of 8
(3,099 Views)