Log In    |    Knowledge Base    |    4D Home
Tech Tip: Recreate .4DSettings File in a Built 4D Application
Published On: January 4, 2023

This tech tip is a supplement to the tech tip: Access and Edit Backup Settings in a Compiled Project Database

There are certain commands (e.g., SET DATABASE PARAMETER and CHANGE CURRENT USER) that require accessing a project database’s “.4DSettings” file, which in a compiled and built application can cause problems as this file’s content is encapsulated within the .4DZ file.

To bring back the .4DSettings file, as well as allow these commands to properly work again, you can use the following steps:

  1. Follow the steps outlined in the “Access and Edit Backup Settings in a Compiled Project Database” tech tip.

  2. Go to "Settings" > "User Settings for Data file...".

  3. Change any of the settings, and click "OK" (it does not matter which setting you change; you may go back and undo this later).

  4. Go to your file explorer and verify that a "Settings" folder got created within the "Data" folder you made when following the previously mentioned tech tip. Inside this folder, the "settings.4DSettings" file should exist, and 4D should be able to recognize it.