Page 1 of 1

exe won't delete for linker; possible bug

Posted: Mon Jan 20, 2014 7:45 pm
by Tenaja
I don't know if this is a bug, or a system setting problem. This suddenly started three or four days ago, which would lead me to believe a system setting, however, the setting may be revealing a bug. Last week I made two changes to my system (w7-64)--I changed it to a fixed IP rather than dynamic, and I turned off the autostart for Adobe and PSQL engine. I can't see these changes effecting PB; I turned off the Session History to test it, and got the same results.

So here is the symptom:
When I create an exe (206KB), the compiler will not allow me to recompile again; it cannot delete the file, so I get a POLINK Access Denied error. However, once it has tried, if I wait 60 seconds (exactly, as close as I can time it with the clock) or more, the file is finally deleted and it will finally create the new exe. You can actually watch the File Manager and see the file disappear 60 seconds after a failed link attempt.

If, after a failed compile attempt, I try to manually delete the exe, I get odd behavior. First, I get a dialog box that says I need administrator privileges, and makes me approve it...then immediately after that, I get a File Access Denied error: "You require permission from the computer's administrator to make changes to this file". (Note: I am the administrator.)

Oddly, if I delete the exe through the File Manager before trying to compile, then all is well.

Obviously a possible workaround is to create a plugin that deletes the exe first, then calls the compiler. However, there seems to be something going on with the way PB is locking up the file for sixty seconds, and this seems annoying and I would like to address it. This happens with both the 32 and 64 bit version of PB. I have also tried rebooting, and the issue persists.

Any ideas? Thanks.

Re: exe won't delete for linker; possible bug

Posted: Sat Feb 08, 2014 8:39 pm
by chi
You might want to turn the service "Application Experience" back ON :twisted:

I had the exact same problem and after 2 days f***ing around with my system (resetting file/folder permissions, installing in different locations, ...) it was just a silly service that needs to be set back to "Manual" (which is also the default :oops:)...

Hope it works for you too!
cheers, chi

Re: exe won't delete for linker; possible bug

Posted: Sat Feb 08, 2014 9:57 pm
by Tenaja
That was it, thanks!