Solved

Error Upgrading to Exchange 2010 SP1

Posted on 2010-09-07
5
1,537 Views
Last Modified: 2012-05-10
         if ($RoleIsDatacenter -ne $true)
          {
            if (test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
            {
              # upgrade the discovery mailboxes to R5 version, this will fix the RecipientDisplayType property of the discovery mailbox which was wrong in R4.
              get-mailbox -RecipientTypeDetails DiscoveryMailbox -DomainController $RoleDomainController | where {$_.IsValid -eq $false} | set-mailbox -DomainController $RoleDomainController
              $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
              $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
              $mbxs = @( get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
              if ( $mbxs.length -eq 0)
              {
                $dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
                if($dbs.Length -ne 0)
                {
                  $mbxUser = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
                  if ($mbxUser.Length -ne 0)
                  {
                    enable-mailbox -Discovery -identity $mbxUser[0] -DisplayName $dispname -database $dbs[0].Identity;
                  }
                }
              }
            }
            else
            {
              write-exchangesetuplog -info "Skipping creating Discovery Search Mailbox because of insufficient permission."
            }  
          }
0
Comment
Question by:mnevoso
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 9

Expert Comment

by:v_9mhdrf
ID: 33624360
Please follow this link and install all the pre-requisites before upgrading to Exchange 2010 Sp1.

http://msexchangeteam.com/archive/2010/09/01/456094.aspx

Hope this Helps

Thanks,
Mohammed :-)
0
 

Author Comment

by:mnevoso
ID: 33627001
yes those are already done...any other ideas?
0
 
LVL 1

Accepted Solution

by:
ss8541 earned 500 total points
ID: 33851240
I am having the exact same issue. I have a call with Microsoft Techs in about 30 minutes. This issue is directly related to the DiscoverySearchMailbox{D919BA05-46A6-415f-80AD-7E09334BB852} that is installed during the Initial Installation of Exchange. Ours is showing that it does not have a homeMDB attribute assigned to it. (No Database)

Our initial install of Exchange 2010 went horribly bad and we made it worse by improperly uninstalling Exchange after our 2nd exchange box crashed. This ties so many attributes into AD that reinstalling Exchange even under a different server name as been a bear.

As soon as I get more info from Microsoft Exchange Connectors team I will post our findings.
0
 

Author Closing Comment

by:mnevoso
ID: 33896251
seems like it was an issue related to blackberry enterprise software.
what i did was create a new administrator account and installed sp1 using that.
0
 

Expert Comment

by:yexperts
ID: 33960889
Hello
What's new on the solution of the problem.
I am located in the same problem and the problem I've had many
Atnmy link for a solution as soon as
And thank you very much Hmamoqa wonderful and gave me a lot more of my experience and my skills
Thank you strongly
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
how to add IIS SMTP to handle application/Scanner relays into office 365.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question