"Error writing to Database" error message is displayed after the LDAP portion of the BlackBerry Enterprise Server 5.0 installation

Article ID: KB18197

Type: Support Content

Last Modified: 12-14-2011

 

Product(s) Affected:

  • BlackBerry Enterprise Server for Microsoft Exchange
  • BlackBerry Enterprise Server for IBM Domino
CollapseEnvironment
  • BlackBerry® Enterprise Server version 5.0 for Microsoft® Exchange
  • BlackBerry® Enterprise Server version 5.0 for IBM® Lotus® Domino®
  • SDR300449
CollapseOverview

After clicking the Next button on the Lightweight Directory Access Protocol (LDAP) settings portion of the BlackBerry Enterprise Server version 5.0 installation, the installation does not proceed to the next screen and the following error appears:

Error writing to Database.

The following is a sample from the installation log file:


[30000] (05/08 21:43:38.190):{0xE0C} <5>May 08 21:43:38 server {0xE04} 0324: ( #30000 ) BASBatchFile_Encode: Executed with return code of 4, encoded result was zero length!
[30000] (05/08 21:43:38.190):{0xE0C} <3>May 08 21:43:38 server {0xE04} 0325: ( #10000 ) [PIPTOOL]: Encrypt password for LDAP failed, code 4
[30000] (05/08 21:43:38.190):{0xE0C} <4>May 08 21:43:38 server {0xE04} 0326: ( #20000 ) [PIPTOOL]: LDAP apply values failed with code [834]

CollapseCause

The following are a list of some possible causes:

Cause 1

The LDAP password that was provided includes an unsupported character.

    • Supported characters include the following: ~, @, *, _, -, +, :, ?, /, space, {, }, [, ], .
    • Unsupported characters include the following: !, #, $, %, ^, (, ), &, =, ', ", ;, >, <, |, comma, \

Cause 2

Java® Runtime Environment (JRE™) has been installed on a non-system drive. This causes the encryption process of the setup application to fail.

CollapseResolution

This is a previously reported issue that has been escalated internally to our development team. No resolution time frame is currently available.

CollapseWorkaround

Complete the appropriate workaround for each cause:

Cause 1

The LDAP password that was provided includes an unsupported character.

Workaround 1:

Change the Microsoft® Active Directory® password for the account being used to authenticate LDAP to only include supported characters.

Workaround 2:

Use a different account with a password that does not include any unsupported characters.

Cause 2

Re-install JRE to the default hard drive of the computer (typically C:\).

Disclaimer

By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.


Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.