12-14-2010 03:57 PM
Testing development platform on Window 7 vs XP. I received following message while building an executable using 2009 32 bit on Windows 7 machine. Same build will work on an XP machine.
Error 8 occurred at Copy in AB_Engine_Copy_Error_Files.vi->AB_Application.lvclass:Copy_Error_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: File permission error. You do not have the correct permissions for the file.
=========================
NI-488: DMA hardware error detected.
C:\Program Files (x86)\National Instruments\Shared\LabVIEW Run-Time\2009\errors\Internet Toolkit-errors.txt
Any suggestions?
Thanks
12-14-2010 10:08 PM
Do you have the Administrator access for the PC in that you are trying to build Exe?..
12-15-2010 05:59 AM
I have administrator access.
12-15-2010 06:21 AM
Update: The build path points to a sub directory called APP in the projects folder. I deleted the sub folder then ran the build. The build created the subfolder as I saw it appear in the computer window. At the end of the build the folder was removed. Not sure if this is a default action on a failed build but I believe it shows the permission level to create the folder and files during the build.
12-15-2010 02:08 PM
For any who may be having this problem here is a little more information and what I did to get around the issue. (so far)
First I tried a simple vi with a while loop in a project and made an executable build. This worked. I double checked on an XP machine the project that I was having problems with. The executable was built successfully. I changed back to the Windows 7 machine. On the program compatibility trouble shooter I started the LabVIEW 2009 (32 bit) in the XP service pack 2 mode and selected run as administrator. The build was successful.
Note: was logged in as administrator and program would build a simple executable in Windows 7. The executable that would not build had more complex code that included serial communication and calls to lvanlys.dll and nilvaiu.dll.
This may not be a complete fix to the problem but at least in this one case it worked.
12-21-2010 07:10 PM
I got a hint from another thread.
If you Right-Click Labview and select Run as Administrator it works.
Pressing Shift and Ctrl and clicking Labview is the same thing.
Paul
12-22-2010 06:49 AM
Thanks Paul for the shortcut suggestion. That will be helpful.