05-24-2011 11:25 AM
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
05-24-2011 11:39 AM
This sounds like the TK installer bug CAR number is 246340
That Bill and I beat on Here
05-24-2011 12:45 PM
Hi,
Looked through the link, not sure how the GPS TK is related to the error 6. Was this solution posted in correct?
mr
05-24-2011 08:44 PM - edited 05-24-2011 08:45 PM
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"
05-25-2011 09:28 AM - edited 05-25-2011 09:29 AM
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
05-26-2011 10:36 AM
Mark,
I see that you have an SR please post the resolution or information about the SR here when it is finished 🙂
05-27-2011 08:26 AM
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
06-23-2011 09:25 AM
Hi,
Some work around progress, see the following link ( also listed above)
Will post some results when tested.
Mark