Message: The process cannot access the file because it is being used by another process.
Explanation: If this message appears during the "post setup" step during a Foxhound upgrade, it probably
means the Foxhound engine is already running as a service and it cannot be stopped by the post setup process.
As a result, the Foxhound upgrade will not work properly.
Try stopping the service and rerunning the upgrade, including the initial "unsetup" step:
How do I install a new version of Foxhound?
Here is an example of this and other related error messages produced by the post setup process
when the Foxhound engine is running as a service:
...
*** Starting the existing Foxhound database...
19/07/2010 15:20:03.26 Foxhound 1.3736 *** ERRORLEVEL = 1
*** ...no, the existing Foxhound database did NOT start.
*** ERRORLEVEL = 1
07/19 15:20:02. Cannot access "C:\Documents and Settings\All Users\Application D
ata\RisingRoad\Foxhound3\foxhound3.db": another process may be using the file
...
*** Moving the old Foxhound database files...
A subdirectory or file backup already exists.
A subdirectory or file previous_build already exists.
The process cannot access the file because it is being used by another process.
******************************************************************
*** ERROR ********************************************************
*** The $post_setup.bat file could not MOVE the old
*** foxhound3.db file to the "previous_build" subfolder.
*** Contact Breck.Carter@gmail.com
******************************************************************
Press any key to continue processing...
Press any key to continue . . .
The process cannot access the file because it is being used by another process.
******************************************************************
*** ERROR ********************************************************
*** The $post_setup.bat file could not MOVE the old
*** foxhound3.log file to the "previous_build" subfolder.
*** Contact Breck.Carter@gmail.com
******************************************************************
Press any key to continue processing...
Press any key to continue . . .
*** Moving the new Foxhound database files...
Access is denied.
******************************************************************
*** ERROR ********************************************************
*** The $post_setup.bat file could not MOVE the new
*** foxhound3.db file to the FOXHOUND3 folder.
*** Contact Breck.Carter@gmail.com
******************************************************************
Press any key to continue processing...
Press any key to continue . . .
Access is denied.
******************************************************************
*** ERROR ********************************************************
*** The $post_setup.bat file could not MOVE the new
*** foxhound3.log file to the FOXHOUND3 folder.
*** Contact Breck.Carter@gmail.com
******************************************************************
Press any key to continue processing...
Press any key to continue . . .
*** Deleting the temporary setup files...
*** Wrapping up...
******************************************************************
*** ERROR ********************************************************
dbspawn old_foxhound3 ERRORLEVEL = 1
...
|
See also...
How do I install a new version of Foxhound?
|