04-11-2012 10:34 AM
I'm trying to update our BES server from 5.0.2 to 5.0.3 and during the first step we get an error message. "An attempt to upgrade the database was unsuccessful. An error occurred while executing an SQL Statement." I found a knowledge base article which describes the problem but doesn't give a solution.
Setup Log:
[20000] (04/11 08:39:29.369):{0x1E18} [CBESDBInstaller::executeRetryDDL] COM Error 0x80040E2F - IDispatch error #3119 - Source: "Microsoft OLE DB Provider for SQL Server" - Description "Violation of PRIMARY KEY constraint 'PK_BASAuthenticationCredentials'. Cannot insert duplicate key in object 'dbo.BASAuthenticationCredentials'." Native error = 2627
[20000] (04/11 08:39:29.370):{0x1E18} [CBESDBInstaller::executeRetryDDL] COM Error 0x80040E2F - IDispatch error #3119 - Source: "Microsoft OLE DB Provider for SQL Server" - Description "The statement has been terminated." Native error = 3621
[20000] (04/11 08:39:29.370):{0x1E18} [CBESDBInstaller::executeRetryDDL] SQL Error for:
IF EXISTS (SELECT * FROM BASAuthenticationCredentials WHERE AuthenticationType=1 AND AuthenticatorIdentifier=111 AND CredentialIdentifier = 'AD')
BEGIN
UPDATE BASAuthenticationCredentials SET CredentialIdentifier = 'AD:'
WHERE AuthenticationType=1 AND AuthenticatorIdentifier=111 AND CredentialIdentifier = 'AD'
END
I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier
04-11-2012 12:37 PM
Workaround
Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
BESAdmin's, please make a signature with your BES environment info. SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope