Created On:  01 August 2011


Working with AcuBench projects that are sitting in a server where they can be reached from several developers, there are occasions when we will get the following message:

“AcuBench has detected a corruption in one of your Project's files. Acubench will restore your project from your most recent Auto-Save.”

It points to a temporary file, which does not exist. This results in not being able to work at all with the project. The project can be opened from other machines without any problems.


As the normal procedure when working with AcuBench, it generates some temporary files and registry keys related with those temporary files. When AcuBench closes a project, it removes those files and registry keys. When it starts over, it checks those registry entries and if the value is different to 0 it is when it sends this message. The registry key in question is:


Could be TMPFILE_TOTAL or any other value under this registry key.

In fact this just happens when for some reason AcuBench was unable to close and save a project gracefully.

Another cause could be that working in a Citrix environment, there is a possible permissions conflict and for some reason, even though AcuBench finished normally, it was unable to remove or clean those registry keys; in this case we do not know exactly in what Windows registry Citrix allows AcuBench to manage those keys , could be in the Citrix Server or in the client machine, we really do not know because this could be something related with permissions on the Citrix side or any other conflict among the Citrix server and the client machines using AcuBench.

In short terms the explanation about this message is that the only place in the AcuBench internal code where the message will show up is in a function that  1) checks that registry key, and 2) if the TMPFILE_TOTAL under that key is greater than 0, then the message is displayed.  In some cases this registry entry does not exist, the there are some suggestions to solve this problem:

a) If the user can open the Acubench workspace, make sure it has Tools, Options, "On start-up" set to "Show empty environment", close AcuBench and open it again.

b) Go to the registry:  AcuBench81\App Status and remove the entry for "Last Workspace File", an try to open AcuBench.

c) Remove the entire "CaseMaker" branch.  Then when starting AcuBench again it will recreate it. Your custom settings like window placement and all will be back to default so you'll need to reset them.

There are some other solutions as follows:

Depending on the AcuBench version, there is this registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\CASEMaker\AcuBenchXXX\Temporary-File\File0

So,  renaming from  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal

Server\Install\Software\CASEMaker\AcuBenchXXX to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows

NT\CurrentVersion\Terminal Server\Install\Software\CASEMaker\AcuBenchXXX.sav


If the following key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\CASEMaker\AcuBenchXXX\TMPFILE_TOTAL is set to 1,  setting it to 0 will solve the problem.
Incident #2520089