Error: Startup Error: Invalid database number passed to FE_API.Init Main Startup Step: CBBStartSeq.Startup Start Sequence Step: DeterminRegRoot - when posting to General Ledger

When posting to the General Ledger and The Raiser's Edge and The Financial Edge are integrated, you may receive the following error.

Startup Error: Invalid database number passed to FE_API.Init Main Startup Step: CBBStartSeq.Startup Start Sequence Step: DeterminRegRoot

Possible causes:
  • Settings in Configuration, General Ledger are incorrect.
  • There are Financial Edge login errors.
  • The Financial Edge was installed but never logged into so the registry keys haven't been generated

If your database is hosted by Blackbaud, contact Support and reference this article. A hosting administrator will resolve this error.

If your Blackbaud software is installed locally, then try each of the following steps in order until the issue is resolved:

At the workstation that is posting:

  1. Log into The Financial Edge. This generates the registry keys and appropriate values for the live database.
  2. Verify the General Ledger settings are correct:
    1. Log into The Raiser's Edge.
    2. In Configuration, click General Ledger.
    3. Verify the Server name and Database name are correct.
    4. Exit and sign out to save the changes.
  3. Remove the integration options and re-add them:
    1. Delete the options selected on the General Ledger screen in Configuration:
      1. In The Raiser's Edge, click Configuration, General Ledger.
      2. Remove the current Server name and Database name information.
      3. Unmark the Blackbaud General Ledger present checkbox.
      4. Exit and sign out of The Raiser's Edge.
    2. Delete the current RE7_GL DSN:
      1. Open the ODBC Data Source Administrator.
      2. On the System DSN tab, highlight RE7_GL and click Remove.
      3. Click OK. This closes the ODBC Data Source Administrator.
    3. Reconfigure the integration between The Raiser's Edge and General Ledger.

Note: Incorrect changes to registry settings can cause serious system problems that may be irreversible without reinstallation of the operating system. You must back up your registry before making any registry changes. We are not responsible for damage resulting from incorrect use of the Registry Editor.

  1. Edit the registry at the workstation and verify the following keys' String values match:
    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\RE7_GL\Server
    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\AFNINI_#\Server
    * Where # is some numeric value, typically 1 (50 is for sample data only)
  2. If the Server keys do not match, right-click on the Server key under each location and select Modify.
  3. Change the Value data to the correct Financial Edge Server Name
    Example: Server\FE7_MSDE
  4. Uninstall and reinstall The Raiser's Edge.

Steps to Duplicate

  1. Log into Raiser's Edge
  2. Select Admin > Post To General Ledger
  3. Click Post Now
     

Was this article helpful?