Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry® Enterprise Solution

Reply
Contributor
neeeko
Posts: 11
Registered: ‎03-19-2010
My Carrier: Orange FR

BES 5.0.3 fresh install / invalid column names on SQL server

Hello,

 

Trying to perform a fresh install on Windows 2008 R2 / SQL 2008R2 Express or SQL 2005 Express. Result : same.

 

On SQL 2005 or SQL2008R2 (tried both) besadmin has the following roles : dbcreator / serveradmin / sysadmin

Enables TCP/IP, etc...no pb connecting to the DB.

Fact is the BESmgmt has been created but there's a SQL statement that is blocking the rest of the installation.

 

Among the log lines, here's the interesting part :

[30000] (05/02 11:23:15.943):{0xD4C} SQL being executed:
 
create view dbo.vUserConfigStats as

SELECT     s.MsgsForwarded, s.MsgsSent, s.MsgsPending, s.MsgsExpired, s.MsgsFiltered, s.MsgsFailed, s.Status, s.LastFwdTime, s.LastSentTime,
                      s.LastContactTime, s.LastMsgExpired, s.LastXPAction, sd.ServerTime, sd.ModelName, sd.PlatformVer, sd.AppsVer, sd.PhoneNumber, sd.IMEI,
                      sd.HomeNetwork, sd.VendorID, sd.PasswordEnabled, sd.HandheldConfigStatus, sd.HandheldConfigCheckTime, sd.DCID, sd.FlashSize,
                      sd.ITPolicyName, sd.ITPolicyTime, sd.IMSI, sd.ICCID, sd.ESN, u.*
FROM         dbo.UserConfig u INNER JOIN
             dbo.UserStats s ON u.Id = s.UserConfigId LEFT OUTER JOIN
             dbo.SyncDeviceMgmtSummary sd ON u.Id = sd.UserConfigId
[20000] (05/02 11:23:15.947):{0xD4C} [CBESDBInstaller::executeRetryDDL] COM Error 0x80040E14 - IDispatch error #3092 - Source: "Microsoft OLE DB Provider for SQL Server" - Description "Invalid column name 'IMSI'." Native error = 207
[20000] (05/02 11:23:15.947):{0xD4C} [CBESDBInstaller::executeRetryDDL] COM Error 0x80040E14 - IDispatch error #3092 - Source: "Microsoft OLE DB Provider for SQL Server" - Description "Invalid column name 'ICCID'." Native error = 207
[20000] (05/02 11:23:15.948):{0xD4C} [CBESDBInstaller::executeRetryDDL] COM Error 0x80040E14 - IDispatch error #3092 - Source: "Microsoft OLE DB Provider for SQL Server" - Description "Invalid column name 'ESN'." Native error = 207
[20000] (05/02 11:23:15.948):{0xD4C} [CBESDBInstaller::executeRetryDDL] SQL Error for:

create view dbo.vUserConfigStats as

SELECT     s.MsgsForwarded, s.MsgsSent, s.MsgsPending, s.MsgsExpired, s.MsgsFiltered, s.MsgsFailed, s.Status, s.LastFwdTime, s.LastSentTime,
                      s.LastContactTime, s.LastMsgExpired, s.LastXPAction, sd.ServerTime, sd.ModelName, sd.PlatformVer, sd.AppsVer, sd.PhoneNumber, sd.IMEI,
                      sd.HomeNetwork, sd.VendorID, sd.PasswordEnabled, sd.HandheldConfigStatus, sd.HandheldConfigCheckTime, sd.DCID, sd.FlashSize,
                      sd.ITPolicyName, sd.ITPolicyTime, sd.IMSI, sd.ICCID, sd.ESN, u.*
FROM         dbo.UserConfig u INNER JOIN
             dbo.UserStats s ON u.Id = s.UserConfigId LEFT OUTER JOIN
             dbo.SyncDeviceMgmtSummary sd ON u.Id = sd.UserConfigId
[10000] (05/02 11:23:15.949):{0xD4C} An attempt to install the database was unsuccessful. An error occurred while executing an SQL statement.. Failed to create the database [BESMgmt].

 

So we have 3 invalid column names...

Been searching.

 

Any help would be appreciated.

Did restart from scratch several times.

 

 

----------------------------------------------------------------------------------------------
BES v5 MR7 - 35 users / SQL2008R2 Express / Exchange 2007 SP3
Please use plain text.
Guru III
knottyrope
Posts: 26,457
Registered: ‎06-25-2008
My Carrier:

I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: BES 5.0.3 fresh install / invalid column names on SQL server

 

Did you let the installer install SQLexpress?

 

 



Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info. SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope

No Sleep Till BlackBerry 10, A BlackBerry Song by Lil E Click here to listen

See me at BlackBerry Fans Get Hands-On BlackBerry 10 Demo

Want to thank me? Buy my KnottyRope App here

Please use plain text.
Contributor
neeeko
Posts: 11
Registered: ‎03-19-2010
My Carrier: Orange FR

Re: BES 5.0.3 fresh install / invalid column names on SQL server

Yes since it failed with SQL2008R2, i let the BBY installer do the job for SQL2005 Express and i had the same result.

----------------------------------------------------------------------------------------------
BES v5 MR7 - 35 users / SQL2008R2 Express / Exchange 2007 SP3
Please use plain text.
Guru III
knottyrope
Posts: 26,457
Registered: ‎06-25-2008
My Carrier:

I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: BES 5.0.3 fresh install / invalid column names on SQL server

is BESAdmin a loacl admin on the server?

 

I think you might not have permission set correctly

 


 

Double check permission according to this

 

KB02276 - Assigning permissions for a BlackBerry Enterprise Server service account

 

 



Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info. SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope

No Sleep Till BlackBerry 10, A BlackBerry Song by Lil E Click here to listen

See me at BlackBerry Fans Get Hands-On BlackBerry 10 Demo

Want to thank me? Buy my KnottyRope App here

Please use plain text.
Contributor
neeeko
Posts: 11
Registered: ‎03-19-2010
My Carrier: Orange FR

Re: BES 5.0.3 fresh install / invalid column names on SQL server

Doublechecked it. It has local admin rights.

i should add that we already have another BES server running under Besadmin account without no problem.

----------------------------------------------------------------------------------------------
BES v5 MR7 - 35 users / SQL2008R2 Express / Exchange 2007 SP3
Please use plain text.
Contributor
neeeko
Posts: 11
Registered: ‎03-19-2010
My Carrier: Orange FR

Re: BES 5.0.3 fresh install / invalid column names on SQL server

I used createdb.exe as mentioned here :

http://docs.blackberry.com/en/admin/deliverables/25781/Create_empty_BBConfigDB_452488_11.jsp

 

then restarted the whole isntallation and used the option use an existing Database and voilà !

 

----------------------------------------------------------------------------------------------
BES v5 MR7 - 35 users / SQL2008R2 Express / Exchange 2007 SP3
Please use plain text.
Guru III
knottyrope
Posts: 26,457
Registered: ‎06-25-2008
My Carrier:

I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: BES 5.0.3 fresh install / invalid column names on SQL server

[ Edited ]

did you create the database on SQL prior to the installation?

 

just want to see where things might have gone wrong for future reference



Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info. SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope

No Sleep Till BlackBerry 10, A BlackBerry Song by Lil E Click here to listen

See me at BlackBerry Fans Get Hands-On BlackBerry 10 Demo

Want to thank me? Buy my KnottyRope App here

Please use plain text.
Contributor
neeeko
Posts: 11
Registered: ‎03-19-2010
My Carrier: Orange FR

Re: BES 5.0.3 fresh install / invalid column names on SQL server

[ Edited ]

Yes, creating the database first with createdb.exe solved my problem.

----------------------------------------------------------------------------------------------
BES v5 MR7 - 35 users / SQL2008R2 Express / Exchange 2007 SP3
Please use plain text.
Guru III
knottyrope
Posts: 26,457
Registered: ‎06-25-2008
My Carrier:

I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: BES 5.0.3 fresh install / invalid column names on SQL server

glad to hear it is working



Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info. SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope

No Sleep Till BlackBerry 10, A BlackBerry Song by Lil E Click here to listen

See me at BlackBerry Fans Get Hands-On BlackBerry 10 Demo

Want to thank me? Buy my KnottyRope App here

Please use plain text.