Database is mandatory on UserMailbox error during install of Hub Transport

  • Thread starter Sandy Harvey
  • Start date Views 12,966
S

Sandy Harvey

I have one Exchange 2010 RC server up and running and able to login 2 user accounts. I am ready to setup the 2nd Exchange server in the test lab. This server is the same name as the one I created in Beta. But now when I try to install this server, it fails on the hub transport with this database error. I'm not sure what database it means as it is not specific. Most of the posts I find refer to a specific database, which in this case it does not. Any help would be appreciated.
Summary: 5 item(s). 1 succeeded, 1 failed.

Elapsed time: 00:00:09

Preparing Setup

Completed

Elapsed Time: 00:00:06

Hub Transport Role

Failed

Error:

The following error was generated when " $error.Clear(); if ( ($server -eq $null) -and ($RoleIsDatacenter -ne $true) ) { Update-RmsSharedIdentity -ServerName $RoleNetBIOSName }" was run: " Database is mandatory on UserMailbox. Property Name: Database" .

Database is mandatory on UserMailbox. Property Name: Database

Elapsed Time: 00:00:03

Client Access Role

Cancelled

Mailbox Role

Cancelled

Finalizing Setup

Cancelled
 
S

Sandy Harvey

Found a very strange situation with this one, but resolved it. It appears that one user account, which I enabled the mailbox on through the EMC and assigned to the specific database on the one server I had up and running was causing the issue. I have no idea why. Once we removed that user, then the install of the hub transport on the 2nd server went fine. We then readded the user and enabled his mailbox in the same again to see if it would do the same thing to the database properties.

So, after bringing up the 2nd server, we used ADSI Edit to look at the properties of the mailbox databases. The homeMDBBL attribute that says CN=SystemMailbox.

But the 1st server, after adding the user back and specifically assigning him to the 1st server's mailbox database changed this attribute to point to his CN, not the SystemMailbox, which is odd since there are 3 total users on that mailbox database now and because I used the wizard to enable his mailbox and assign him to this database, it changed the homeMDBBL attribute to his CN. This is the way it was prior to deleting him from EMC and out of AD, so I think this is what caused the 2nd server not to install the hub transport correctly.
Since I don't know enough about Exchange to know if it should be this way or not, I'm just posting this finding out here in case anyone else runs into this problem. But it sure would be nice to know why this is and why it would prevent you from installing the hub transport role on another server. Thanks.

Sandy
 
B

blackbirddh13

Hi Sandy same issue here ... how did you identify the user that made the problems and did you find away other then completely removing the user?

CU Daniel
 
S

Sandy Harvey

We used ADSI Edit and went to the mailbox database and looked at the object's attributes for the homeMDBBL attribute. In that attribute it showed the CN= of the user that seemed to be our issue. We had to remove the user completely and then we were able to continue with the install. We put the user back after the install was completed, but it did change the attribute back, so I'm not sure that we'd be able to install another server if we needed to without removing the user again. But since this is in our lab environment, we were able to do so. If we were in production, we'd have a major problem with this type of solution, thus why I'm hoping Microsoft is monitoring these threads to know what they need to fix before RTM.
Sandy
 
B

blackbirddh13

Hi Sandy,

I would like to share, what I did to get around the problem.

I guess I came into this issue because I installed Exchange 2010 beta in a VM and then simply deleted the VM without uninstalling Exchange 2010 beta or cleaning my AD that sits on my lab server. When I installed the RC I got the above error message.

What I did to resolve this:

1) I downloaded the AD cmdlets for powershell from Quest here:

http://www.quest.com/powershell/activeroles-server.aspx

2) I played around with it and started to delete Exchange attributes on all accounts in my AD (I just have a couple of test user accounts in it so I didn't mind much, if something breaks). Using the AD cmdlets by Quest I used the following script to delete all Exchange attributes, that were attached to the users I had joined to the old Exchange 2010 beta. The script runs on ALL users and deletes attributes, so BEWARE.

Here is the script:

$userlist = Get-QADUser -IncludeAllProperties

$userlist | ForEach { Set-QADUser $_ -ObjectAttributes @{msexchmailboxguid=''; msexchhomeservername=''; legacyexchangedn=''; mail=''; mailnickname=''; msexchmailboxsecuritydescriptor=''; msexchpoliciesincluded=''; msexchrecipientdisplaytype=''; msexchrecipienttypedetails=''; msexchumdtmfmap=''; msexchuseraccountcontrol=''; msexchversion='' } }

msexchmailboxguid, msexchhomeservername and legacyexchangedn alone did not do the trick, so I added the rest that looked obviously like exchange and then the hub installation went through.

Hope this helps. Maybe somebody from MSFT can comment which exact attribute caused the problem, and inform the product group to fix the issue.

@Sandy, thx for your answer.

CU Daniel
 
S

Sandy Harvey

Thanks for your information too. I did the same thing with VM and just wiped the server instead of cleaning up AD. I do hope that Microsoft can comment on this issue because it will keep us from installing additional servers. Once I added the user back and assigned them to a specific database, the issue was back on the attribute showing their CN, so I know it's not fixed by just deleting the attributes or the user.
Sandy
 
H

HSChronic

it did this to me without any mailboxes. I wiped my beta config out of AD (had to use ADSI to get rid of it because I tried to migrate my mbx to a new server running the RC and it didn't like that hehe), installed Exchange 2010, realized I messed up something (forgot to delete the old Exchange 2010 beta security groups), uninstalled it, then did a reinstall and got this error the first time when i was installing the mailbox role, so i rebooted went into programs and features readded the mbx role and everything was fine. I haven't tested adding the hub transport or cas roles yet.
 
S

Sandy Harvey

I think the cleanup in AD when you don't do a proper uninstall of a server is not documented very well. I think you end up with remnants that cause these kinds of issues.
 
N

njmessenger

I receive the same error " Database is mandatory on UserMailbox. Property Name: Database" when attempting to install additional Exchange 2010 RC mailbox server roles. I have one 2010 RC HUB/CAS/MAILBOX running just fine. I wanted to add more mailbox roles to setup a Database Availibility Group, kind of hard to do with one mailbox server! I'm attempting this install into an existing Exchange 2007 org with all servers running Exchange SP2. I was able to set this up in a completely new environment just to see if Exchange 2010 wasn't " broken" but in reality I need it to co-exist with 2007 & 2003 for migration purposes. I would think maybe something in AD is messed up but I'm not sure what. Any ideas & advise would be appreciated. Thanks!
 
B

brookwood8

I ran into the exact same issue under similar circumstances with Exchange 2010 RC. I was using a VM to host Exchange 2010 and lost access to the Exchange Management Console. Once you lose access you can't move mailboxes. If you can't move mailboxes you can't do a clean uninstall of Exchange 2010. If you delete the VM and Exchange 2010 Active Directory becomes a mess and won't allow any instance of Exchange 2010 to be installed.
Does anyone have a definitive answer as to how to fix this?
 
J

JohnTandem

Not sure if this is a 100% fix but I had exchange 2007 install, uninstalled and then installed 2010 on one server it would never mount a database, so I uninstalled it and created another server and it failed on the Hub Transport. I did the install over leaving ou the hub transport and everything worked once I got mailbox's setup I was able to reinstall the Hub Transport
 
K

ktpelt

Lets bring this one back to the top. Could really use some more info on how to handle this.
 
M

mitch roberson

Take a look at this article I had a very similar problem and this fixed it quickly

http://support.microsoft.com/kb/978776

Mitch Roberson |MCITP:Enterprise Server Admin, Messaging |MCTS:OCS with Voice Achievement |MCT |MCSE 2000\2003 |MCSE Messaging 2000\2003
 
C

Cyberflight

I was able to get the Hub Transport installed with the same error by just installing all the other components first then going back and installing the Hub. I did follow http://support.microsoft.com/kb/978776 but it did not seem to resolve the issue but may have helped.
 
R

Rick Yeager

I had the same error installing Exchange Server 2010 on Server 2008 R2.

The article http://support.microsoft.com/kb/978776 did not do anything for me. In fact if Exchange doesn't install you cannot add the mailbox back that it tells you to delete. As it turns out, although it's not mentioned anywhere, you have to use the Exchange Console which doesn't get installed if Exchange is not installed.

The process to install Exchange 2010 is rediculous. I can't belive how many problems there are with the installation process.

Now I'm left with a failed installation and an additional problem of the missing required Federated mailbox.

Thanks a lot!
 
C

claudetschepen

I had this issue:

Error:

The following error was generated when " $error.Clear(); if ( ($server -eq $null) -and ($RoleIsDatacenter -ne $true) ) { Update-RmsSharedIdentity -ServerName $RoleNetBIOSName }" was run: " Database is mandatory on UserMailbox. Property Name: Database" .

Database is mandatory on UserMailbox. Property Name: Database

I also followed this article: http://support.microsoft.com/kb/978776

when I ran " get-mailbox -arbitration" it showed me the two offending mailboxes, eg:

SystemMailbox{1f05a927... SystemMailbox{1f0... <server name> unlimited

WARNING: The object <domain>/Users/SystemMailbox{1f05a927-f066-4323-953b-aae6bdc4460d} has been corrupted, and it's in an inconsistent state. The following validation errors happened:
WARNING: Database is mandatory on UserMailbox.

the solution was to delete both system mailboxes via ADSIedit, and when I ran setup again, it complained the mailbox didnt exist, so unlike in the article, I recreated it before running setup again, with the following command:

New-Mailbox -Arbitration -Name FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 -UserPrincipalName FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@<Default_Accepted_Domain>

the setup then ran fine.

the original problem was we couldn't mount any databases on the original Exchange 2010 server, so installed a second server, restored all data to it and then removed the first server and then readded it. the above error occured when trying to reinstalling Exchange on it.

all sorted now. (also sorted out small problems with MSFTE.msi versioning (full text indexing / search engine) caused by Update 4 rollup)

not very chuffed with Exchange 2010 installation steps failing left right and center. setup routines are very fragile it seems, especially with RTM / Update rollup changes.
 

Lungi Mtshali

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
HI Guys, I had the same issue trying to install EXCH2010,
I first tried to install in on a Windows Server 2012R2 but had issues with that apparently it is not supported. I did not uninstall the VM properly, like most of you.
In the end I manually deleted the Exchange Administrative group, ran Setup /PrepapareAD, which recreated the new Administrative group and solved my problem.

Hope this helps.
 

Top