Language:


Creating a New Database - If the "DBDEF.TXT" and "DEFAULT.TXT" files are missing

If you attempt to create a new database as described on the Creating a New Database - Server or Creating a New Database - Single User pages but without the "DBDEF.TXT" and/or "DEFAULT.TXT" files present in the folder or directory containing the Standard ERP application, that database will be created successfully. However, the process will deviate from the path outlined in two respects:
  1. If you are creating a new server database, it will have no Port Number, and therefore no clients will be able to log in.

  2. If you click the [Switch Module] button in the Navigation Centre or use the Ctrl-0/⌘-0 keyboard shortcuts, you will see that you will only have access to the System and User Settings modules.
You can either decide to start again or to proceed with the empty database. The former route is recommended, as you will not have lost much time. Follow these steps:
  1. Close Standard ERP using the 'Quit' command on the File menu (or the Standard ERP menu if you are using Mac OS X).

  2. Delete the "HANSA.HDB" file.

  3. Locate the "DBDEF.TXT" file and move it to the folder or directory containing the Standard ERP application. Also, ensure that the "DEFAULT.TXT" file is present.

  4. Launch Standard ERP again and follow the procedure described on the Creating a New Database - Server or Creating a New Database - Single User pages as appropriate.
If you decide to proceed with the empty database, follow these steps:
  1. Click the [Switch Module] button in the Navigation Centre and double-click 'System' in the subsequent list. Click the [Routines] button in the Navigation Centre and then the [Imports] button in the 'Routines' window. Double-click 'Manual file search' in the subsequent list. Locate the "DBDEF.TXT" file and import it. You will now have access to all modules, and Port 1200 will be assigned to the application. You will need to restart the application to open the Port before clients can log in.

  2. Repeat the previous step, this time importing the "DEFAULT.TXT" file.

  3. Return to the Entering your Company Name and Address page to resume the configuration process.
---

Go back to: