Error: Database Demo failed to start when Attempting to Start the Demo Database or Attempting to Copy Live to Test
  • 23 May 2023
  • Contributors
  • Dark
    Light
  • PDF

Error: Database Demo failed to start when Attempting to Start the Demo Database or Attempting to Copy Live to Test

  • Dark
    Light
  • PDF

Article summary

When attempting to start the Demo database this error occurs. This error can also occur while attempting to copy Live to Test.

Answer:
Typically copying live over to test will resolve this error, however, if this error occurs while copying live over to test many times it is caused by the _dbutil.exe utility holding onto the Demo database files and thus not allowing them to be updated or to start.

This can be caused by the following scenario:

For example, if you have the FIMS backup scheduled task set for 8:00 PM and the copy live to test task scheduled for 4:00 AM, the DB backup happens first at night, and then in the morning the copy live to test runs. If the Open Edge Database Utility is not being properly closed after the DB backup this can potentially affect the demo database.

To resolve the error if the error occurs while copying live to test, try the following. There may be other processes locking the database files as well besides this one:

  1. Go to Task Manager\Processes Tab
  2. Look for a process called _dbutil.exe
  3. To verify, right click on the _dbutil.exe process and select Open file location
  4. You should be directed to the _dbutil.exe in \npo\dlc\bin
  5. After verifying that, go back to task manager, click on the _dbutil.exe process and then click the End Process button on the bottom
  • Be sure to configure task manager to output the command line. Verify that you are killing the process for Demo and not for the Found (Live) database. The file paths will be in the command line. Demo will be npo\demo\dbfiles\found.
Here is how you can output the command line in task manager:
https://www.thewindowsclub.com/display-command-line-windows-10-task-manager

Note: We provide links to third-party websites in an effort to help you resolve your issue. We are not responsible for the information on third-party websites, and we cannot assist with implementing the resolution from these websites.
 
6. Run the Copy Live to Demo task again and it should be successful and the database should start
          during that process
7. After that process is finished, have users log into the Test\Demo database to be sure it is functional


Was this article helpful?