"Patch for BlackBerry Enterprise Server installation has failed" occurs when updating a BlackBerry server.

Article ID: KB25751

Type: Support Content

Last Modified: 12-14-2011


Product(s) Affected:

  • BlackBerry Enterprise Server for Microsoft Exchange
  • BlackBerry Enterprise Server for IBM Domino
  • BlackBerry® Enterprise Server 5.0 to 5.0 SP3
  • Microsoft® SQL Server® 2005 and 2008 Standard or Enterprise Edition

When applying Service Packs and Maintenance Releases to a BlackBerry® Enterprise Server environment that incorporates Microsoft® SQL® database replication, the setup fails and  a popup window displays the following error.

Patch for BlackBerry Enterprise Server installation has failed.  Please check the install log for more information.  Setup will now exit.



This error occurs when the SQL environment is setup for database mirroring and the service has not been turned off during upgrade.

The following log lines appear in setup log:  

[25000] (02/01 17:42:08.703):{0xF90}  IDS_25000 ODBCRecord::DoGetFirstValue: COM Error 0x80040E37 - IDispatch error #3127  - Source: Microsoft OLE DB Provider for SQL Server - Description Microsoft OLE DB Provider for SQL Server - Command: ODBCRecord::DoGetFirstValue [20000] (02/01 17:42:08.703):{0xF90} [ODBCRecord::DoGetFirstValue] SQL = "         SELECT b.category, (CASE WHEN a.mirroring_role_desc = 'PRINCIPAL' THEN ? WHEN a.mirroring_role_desc = 'MIRROR' THEN ?                     ELSE 0 END) AS mirror FROM sys.database_mirroring a JOIN sysdatabases b ON a.database_id=b.dbid  WHERE b.name = ? AND a.database_id=b.dbid ".
[20000] (02/01 17:42:08.703):{0xF90} [ODBCRecord::DoGetFirstValue] DATA = "PRINCIPAL[32] MIRROR[64] dbname[BESMgmt] ".
[20000] (02/01 17:42:08.703):{0xF90} [CBESDBInstaller::getSQLServerReplicationMirroringStatus] SysInfoV sql call failed 


It is recommended to turn off replication for database prior to the upgrade.  After upgrade process completes,  manually reconfigure replication for database.


CollapseAdditional Information

Refer to the Upgrade Planning Guide for BlackBerry Enteprise Server  for additional information.



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.