Jump to content

Error 7 (Missing cache?) from build.vi

Recommended Posts

I get an error 7, file missing error when I run the app builder Build.vi provided by NI (visible in the palettes).


NI_LVConfig.lvlib:Load.vi<ERR> C:\Users\MichaelA\AppData\Local\Temp\AB_Cache_{DD695C27-7E5F-4A88-8B25-B389D65799CC}.txt <b>Complete call chain:</b>      NI_LVConfig.lvlib:Load.vi      NI_LVConfig.lvlib:Open Config Data.vi      AB_RW_Project_Cache_Info.vi      BuildMonitor_Clean.vi      CleanTarget.vi      NI_App_Builder_API.lvlib:Clean.vi      build exe - vishots.vi      Build_App2.vi

I've seen this issue a few times with various projects. I'm not sure what causes it, but there's no way to recover from it quickly. The only thing that fixes it, that I've found, is to manually execute a build from the project build spec. This seems to fix the missing cache issue. After a manual build is done, Automated builds using the build.vi work as expected without errors, multiple times.

Link to post

Totally long shot this, but could it be a path length issue? I have not tried to do what you are trying to do, but have in the past seen builds sporadically fail due to the length of the path of some VI exceeding the windows limit of 260 characters (or something like that). As soon as I tried to build into something like c:\temp the problem wen away!

This was years ago I have to say, and in more recent versions of Windows it is possible to work around this with a small change to the registry.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.