Introduction #
A rebuild of the BPA Platform internal store may be required if the BPA Platform server service fails to start and a repair is unsuccessful. This is achieved by creating a fresh store at a new location then importing your task data and recreating any global connections.
This is the safest way to complete a rebuild as the process will leave your old store untouched. If you need to revert back to it then you simply point BPA Platform at the location of where the old store exists.
Rebuilding the Internal Store #
- Make a note of any global options you may have set. From the menu bar select Manage -> Options and check each tab.
- Make a note of any of any global connections in use by your tasks, i.e. Database Query (ODBC), Send Email (SMTP).
- Export all of your tasks including any repositories, global variables etc. If required, click this KB article to find out how to complete an export.
- Close any instances of BPA Platform and stop the BPA Platform server service.
- Load the BPA Platform Configurator and create a new internal store by supplying a new location:
- Expand Server -> Store and select Configuration. Tick the box Change store configuration and select the option Connect to/ Create an alternative internal store.
- Click Next to continue.
- Tick the box Change Database Location and supply a new path. The default location is ‘c:\iwdb’ so for example a new location could be ‘c:iwdbnew’
- Click Save and supply a password for the BPA Platform administrator account. It is recommended that the password matches the one of the old store.
- Close the Configurator.
- Ensure the BPA Platform Server service has been started.
- Launch BPA Platform.
- Recreate your global connections.Important: This step must be performed before importing the tasks. The name of each connection must be spelt exactly the same as before including any upper/lower case characters and spaces. This will ensure a task will automatically pick up its connection at run time.
- Import your tasks.
This completes the procedure of rebuilding your internal store. Checks must now be made to ensure your tasks function as normal.