06-12-2017 08:37 AM - edited 06-12-2017 08:44 AM
Hello,
I have tried searching this subject, and found a lot of helpful suggestions. Unfortunately, none of them have worked. I'm trying to figure out what could be left.
So, the full error is shown in the attachment. Just to explain, we have a laptop in our lab with a login of "eng_lab" - that is our username. We also have very strict controls here on permissions, installations, saving to network drives, etc.
What I have tried:
- Building file normally. Failed
- Checking the Temp folder for "read only". The box was filled in (blue square). Clicked to deselect read only entirely. Closed, tried to build again. Failed. Checked again, box was filled in again.
- Using ProcessExplorer to remove any other programs using that folder. Only thing left was LabView (a single DLL file I could not close). Still failed.
- Closing the anti-virus program using ProcessExplorer. Still failed.
- Saving to network drive. Failed. Gave another Error 8 message, but different than in the attachment. Same thing, though, permission error
- Saving directly to the C: drive (instead of to the desktop) to try to eliminate the user name aspect (I was getting desperate at this point). Failed. Still gave the same error as in the attachment
What I have not been able to try:
- Logging in from an admin account and seeing if that works (trying to get an IT person to help on that)
- Disabling firewall (can't do that without admin rights)
Are there any other causes for this error other than not having write permission to the file, the file being open or in use, or a program blocking writing to that file? Anything else I can try on my own?
Thank you
Solved! Go to Solution.
06-12-2017 08:51 AM
What version of Labview?
06-12-2017 08:56 AM
We are using LabView 2012, Version 12.0f3 (32-bit)
06-12-2017 09:01 AM - edited 06-12-2017 09:01 AM
Yep, that's what I figured you would say. I came across some weird build errors that didn't make sense. Check this link for the solution that I found that also seems to have helped others and maybe will help you as well.
http://forums.ni.com/t5/LabVIEW/Getting-Vague-Build-Error-When-Making-Executable/m-p/3196611#M926370
06-12-2017 09:06 AM
Thank you - I tried that just now, but it also failed (same error). I had the target folder, which I placed on the desktop, closed and it failed. I then deleted the target folder altogether (forcing LV to make a new one) and that also failed with the same error.
06-12-2017 09:19 AM
It was worth a shot.
Have you tried the suggestions in this article:
http://digital.ni.com/public.nsf/allkb/BAF0ACFA708F1D19862574C8005248E7
06-12-2017 09:45 AM
Yeah, I tried those - the only thing I can't really do without assistance from our IT department is the permissions on the Temp file itself.
I deleted everything out of that temp file that I could (copying to a desktop folder in case it caused any issues). The only files left in the temp file are 5 files currently being used by LabView. Because they are in use, I can't delete them. I opened Process Explorer and closed all but the DLL file. It still ran into the same error.
06-12-2017 10:01 AM
06-12-2017 10:17 AM
OK, closed LabView, and deleted the remaining files out of Temp. Opened the project and tried to build the program, but it failed again, giving the same error. I have attached a screenshot of the temp folder properties showing it is marked as read only. This was when the folder was completely empty. If I uncheck that, hit apply, and OK, then go back into properties it will be rechecked.
I also tried building to My Documents - that gave another Error 8...not the same one as before, but another permissions error.
06-12-2017 10:21 AM
Post a screenshot of the other error message when built to My Documents.