LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

file access permission denied

After compiling my program in LabWindows/CVI, (7.1.1) I get an error "Unable to open file C:/.../DSC_dbg.exe (File access permission denied)". The error appears only by second time compiling. After it I must reboot the system  for debugging the next time.  What can I Do?
0 Kudos
Message 1 of 3
(5,838 Views)
Hi Coscw,
 
It sounds like the DSC_dbg.exe file is already in use when you try to build the second time.  Do you open the .exe file after you have created it?  If so, do you leave it open when you try to build it the next time?
 
Even if you don't leave it open intentionally, something may have caused the operating system to hang onto the application.  You can open the task manager and look for the DSC_dbg.exe entry under the Processes tab.  If the entry is there but you closed it on your desktop you will have to use the program manager to end the task in order to rebuild the .exe.
0 Kudos
Message 2 of 3
(5,831 Views)
That's right, it looks like the program is already in use. But I have don't open it seperately and in the task manager is not such a process, at least not with this name. But I have tried to delete the file after the error and its not possible - "The file is already in use" comes from the operating system (Win2k SP4). After rebooting I can delete the file.
Possible is there a "Debugging-flag" or something else which tells the operating system that the file is in use? I presume there is an error in the debugging parameters?

Christian
0 Kudos
Message 3 of 3
(5,815 Views)