locked
Mailbox server role issue installing SP2 RRS feed

  • Question

  • Hi all,

    I wish you an Happy New Year 2012 !

    I'm trying to install SP2 for Exchange 2010, and during the step about the mailbox role, this error occurs :


    Mailbox Server role
    Failure

    Error :
    Following error occured during execution of "$error.Clear();
    if ($RoleCreatePublicFolderDatabase)
    {
    $publicDB = get-PublicFolderDatabase -Server:$RoleFqdnOrName -ErrorAction SilentlyContinue;
    $DB = get-MailboxDatabase -Server:$RoleFqdnOrName -ErrorAction SilentlyContinue;
    if ($publicDB -and $DB)
    {
    set-mailboxdatabase `
    -Identity:$DB.Identity `
    -publicFolderDatabase:$publicDB.Identity `
    -DomainController $RoleDomainController
    }
    }
    " : "Can't bind argument to parameter « Identity », because its value is Null.".

    Can't bind argument to parameter « Identity », because its value is Null.

    Time elapsed : 00:05:35


    End of installation.

    Canceled

    I can't find anything about this error. But it's surprising, the Exchange server seems running perfectly, and 2 new mailbox databases were created automatically, and they are unmounted.... Je ne trouve rien concernant cette erreur.

    Thank you. have a good day.


    FXE
    • Modifié FXE lundi 2 janvier 2012 14:41
    lundi 2 janvier 2012 14:35

Réponses

  • Hello world !

    This message just for informing you the SP2 was successfully installed yesterday !

    The solution was add the register key "HKLM\SOFTWARE\Microsoft\ExchangeServer\v14\MailboxRole\ConfiguredVersion" with value "14.2.247.5".

    Now I'm working to install SP3 with other problem...

    I'll open a new post soon to explain this.

    Have a goos day.


    FXE

    • Marqué comme réponse FXE mercredi 27 mars 2013 10:46
    mercredi 27 mars 2013 10:46

Toutes les réponses

  • In addition, here an extract of the install log :

    [12/30/2011 20:30:07.0695] [2] Active Directory session parameters for 'Get-MailboxDatabase' are the following : Show full forest : 'True', Domain Controller configuration : « DC.mondomaine.local », Pefered Global catalog: « DC.mondomaine.local », Prefered Domain controllers : « { DC.mondomaine.local } »
    [12/30/2011 20:30:07.0695] [2] Beginning processing get-MailboxDatabase -Server:'EXC.mondomaine.local' -ErrorAction:'SilentlyContinue'
    [12/30/2011 20:30:07.0695] [2] Searching objects "EXC.mondomaine.local" of type "Server" under the root "$null".
    [12/30/2011 20:30:07.0711] [2] Previous operation run on domain controller 'DC.mondomaine.local'.
    [12/30/2011 20:30:07.0711] [2] Searching objects of type "MailboxDatabase" with filter "$null", scope "SubTree" under the root "EXC".
    [12/30/2011 20:30:07.0758] [2] Previous operation run on domain controller 'DC.mondomaine.local'.
    [12/30/2011 20:30:07.0758] [2] Preparing to output objects. The maximum size of the result set is "unlimited".
    [12/30/2011 20:30:07.0914] [2] Ending processing get-MailboxDatabase
    [12/30/2011 20:30:07.0930] [1] The following 1 error(s) occurred during task execution:
    [12/30/2011 20:30:07.0930] [1] 0.  ErrorRecord: Impossible de lier l'argument au paramètre « Identity », car il a la valeur Null.
    [12/30/2011 20:30:07.0930] [1] 0.  ErrorRecord: System.Management.Automation.ParameterBindingValidationException: Impossible de lier l'argument au paramètre « Identity », car il a la valeur Null.
       à System.Management.Automation.ParameterBinderBase.ValidateNullOrEmptyArgument(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, Type argumentType, Object parameterValue, Boolean recurseIntoCollections)
       à System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
       à System.Management.Automation.CmdletParameterBinderController.BindParameter(CommandParameterInternal argument, MergedCompiledCommandParameter parameter, ParameterBindingFlags flags)
       à System.Management.Automation.CmdletParameterBinderController.BindParameter(UInt32 parameterSets, CommandParameterInternal argument, MergedCompiledCommandParameter parameter, ParameterBindingFlags flags)
       à System.Management.Automation.CmdletParameterBinderController.BindParameters(UInt32 parameterSets, Collection`1 arguments, CommandMetadata commandMetadata)
       à System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)
       à System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)
       à System.Management.Automation.CommandProcessor.BindCommandLineParameters(CommandParameterInternal[] parameters)
       à System.Management.Automation.CommandProcessor.Prepare(CommandParameterInternal[] parameters)
       à System.Management.Automation.CommandProcessorBase.DoPrepare(CommandParameterInternal[] parameters)
       à System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
       à System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
    [12/30/2011 20:30:07.0930] [1] [ERROR] The following error was generated when "$error.Clear();
              if ($RoleCreatePublicFolderDatabase)
              {
                $publicDB = get-PublicFolderDatabase -Server:$RoleFqdnOrName -ErrorAction SilentlyContinue;
                $DB = get-MailboxDatabase -Server:$RoleFqdnOrName -ErrorAction SilentlyContinue;
                if ($publicDB -and $DB)
                {
                    set-mailboxdatabase `
                      -Identity:$DB.Identity `
                      -publicFolderDatabase:$publicDB.Identity `
                      -DomainController $RoleDomainController
                }                 
              }
            " was run: "Can't bind agrument to parameter « Identity », because its value is Null.".
    [12/30/2011 20:30:07.0930] [1] [ERROR] Can't bind agrument to parameter « Identity », because its value is Null.
    [12/30/2011 20:30:07.0930] [1] [ERROR-REFERENCE] Id=SystemAttendantDependent___952169dbb47940388c375ba40fc0c835 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
    [12/30/2011 20:30:07.0930] [1] Setup is stopping now because of one or more critical errors.
    [12/30/2011 20:30:07.0930] [1] Finished executing component tasks.
    [12/30/2011 20:30:07.0961] [1] Ending processing Install-MailboxRole
    [12/30/2011 20:36:53.0337] [0] End of Setup
    [12/30/2011 20:36:53.0337] [0] **********************************************


    FXE
    lundi 2 janvier 2012 14:40
  • OMG....I can't believe this...:)
    I thought I was the only One ;)

    Here you Go...Let me know if it works for you...
    http://www.exchangeranger.blogspot.com/2011/12/error-cannot-bind-argument-to-parameter.html  


    Gulab | MCITP: Exchange 2010-2007 | Lync Server 2010 | Windows Server 2008 | Skype: Exchange.Ranger | Blog: www.ExchangeRanger.Blogspot.com
    • Proposé comme réponse Terence Yu mardi 3 janvier 2012 02:20
    • Non proposé comme réponse Terence Yu mardi 3 janvier 2012 02:27
    • Proposé comme réponse Jelle Balk [NL] mardi 3 janvier 2012 08:58
    lundi 2 janvier 2012 16:08
  • Hi Gulab,

    Thank you for your answer. Your problem seems be the same as mine !

    I'm going to do a new attempt following your way. I wiil give my feed back after these manipulations.


    FXE
    mardi 3 janvier 2012 08:53
  • Hi Gulab,

    I've just try tu use your method, but when I attempted to delete public folder database in EMC, a message indicated that offline address book is distributed via public folder database. So what could I do ?

    I want to secify a BES 5 runs in my Exchange 2010 SP1 environment.

    Thanks.


    FXE
    mardi 3 janvier 2012 21:21
  • Hi
       1.domain display name or alias whitespacemaybe cause this error. Please check it.
       2. Active schema error. Maybe you can
    add it as an additional role after re-entering setup


    Terence Yu

    TechNet Community Support

    mercredi 4 janvier 2012 02:22
  • Hi Terence and thank you for your answer.

    You talk me about domain display name or whitespace : where can I check it ?

    For adding mailbox role server after entering setup, I don't see how do this because SP2 setup doesn't seem propose to select installation options.


    FXE
    mercredi 4 janvier 2012 14:04
  • Damned... I've Outlook 2003 and XP again on my network, so I must use public folder distribution for my OABs, so I can't delete Public Folder Database, so I can't use your method Gulab...

    Anyone would know how I could finalize this SP2 installation ? Is it possible I contact Exchange Team ?

    Thanks.


    FXE
    mercredi 4 janvier 2012 15:37
  • HI
       1. please check your user account domain name and exchange server name without whitespace.
       2. start -> run-> cd / directory (exchange 2010 sp2 directory) ->setup /prepareAD

    Terence Yu

    TechNet Community Support

    jeudi 5 janvier 2012 00:57
  • Hi Terence,

    The user account name used to install is the domain admin account named "Administrateur" (I'm French if you don't remark my poor english :)) without whitespace.

    The FQDN of my Exchange server is like "exchange.domain.local", whithout whitespace.

    I will try to launch setup via your command this night, and I 'll post my feedback.

    Thank you.


    FXE
    jeudi 5 janvier 2012 14:21
  • Hi,
    I read somewhere (can't find the blog post now) that is might help to disable the AdminAuditLog before the installation.
    You could give it a try if the suggestion provided by Terance isn't working.
    Set-AdminAuditLogConfig -AdminAuditLogEnabled $False

    If that works, don't forget to turn auditing on again. It's a nice "feature" :)

    To install SP2:
    Start CMD with administrative privileges (run as administrator)
    Run: setup.com /mode:Upgrade /InstallWindowsComponents

    Good Luck!


    Martina Miskovic - http://www.nic2012.com/
    jeudi 5 janvier 2012 14:31
  • Hi Martina and thank you for your answer.

    Finally, what is the good command to launch SP2 installation ? Yours (setup.com /mode:Upgrade /InstallWindowsComponents
    ), or the Terence's (setup /prepareAD) ?


    FXE
    jeudi 5 janvier 2012 14:42
  • Hi,
    Those two commands are different.
    setup.com /preparead will not install the service pack. It will prepare your AD for the setup.
    Info: http://technet.microsoft.com/en-us/library/bb125224.aspx


    If AD hasn't been prepared for SP2 before running the setup (the command I posted) it will be done during (or in fact just before) the installation run.


    Martina Miskovic - http://www.nic2012.com/
    jeudi 5 janvier 2012 14:47
  • OK, so I'd might use your command as the installer had prepare AD ?

    I want to believe (I hope) the SP2 installer is reliable !


    FXE
    • Modifié FXE jeudi 5 janvier 2012 14:51
    jeudi 5 janvier 2012 14:50
  • I haven't had any problems installing SP2, not yeat at least :)
    I always run it in CMD with the command I posted and the administrative privilages are very important.

    I would think that /preparead already has been run in your environment, since you already tried to install SP2.
    Martina Miskovic - http://www.nic2012.com/
    jeudi 5 janvier 2012 14:55
  • i think you can take a copy of the PF database and can delete following the article listed below:
    Thanks
    -Inderjit

    Inderjit
    jeudi 5 janvier 2012 15:01
  • To Martina : Yes, mostly as I wrote before, the EMC says all the roles are in v14.02...

    I wonder if this error is critical finally... But in the doubt...

     

    To IJSingh : Hi IJSingh, I've note your help and I will search via your links if the others solutions doesn't work. thank you.


    FXE
    • Modifié FXE jeudi 5 janvier 2012 15:14
    jeudi 5 janvier 2012 15:08
  • Hi all,

    I've just tried to reinstall SP2 as Martina's proposition (CMD under Admin privileges), but the same error occured about Get-PublicFolderDatabase.

    I will focus on the IJSingh idea later this WE.

    Thank you all. Have a good WE !


    FXE
    vendredi 6 janvier 2012 20:14
  • Don't forget to post the update....

    Have a great weekend :)


    Gulab Prasad MCITP: Exchange 2010-2007 | Lync Server 2010 | Windows Server 2008 | MyBlog: www.ExchangeRanger.Blogspot.com | Skype: Exchange.Ranger
    vendredi 6 janvier 2012 20:22
  • Hi
       Do you have anything to update your issue ?

    Terence Yu

    TechNet Community Support

    lundi 9 janvier 2012 02:05
  • Hi all,

    Finally, I didn't do anything about the IJSingh this WE : this was a familly wishes WE !

    So I begin to focus on the Public Folder Database solutions.

    I will let you know soon.

    Have a good week !


    FXE
    lundi 9 janvier 2012 08:55
  • Hi FXE,
    Can you run these two commands and post the output?

    • Get-PublicFolderDatabase | fl Name,identity,admin*
    • Get-MailboxDatabase | fl Name,identity,admin*

    Martina Miskovic - http://www.nic2012.com/
    lundi 9 janvier 2012 09:08
  • Hi Martina,

    Below the outputs :

    [PS] C:\Windows\system32>Get-PublicFolderDatabase | fl Name,Identity,Admin*
    
    
    Name                : Public Folder Database
    Identity            : Public Folder Database
    AdministrativeGroup : Exchange Administrative Group (FYDIBOHF23SPDLT)
    AdminDisplayName    : Public Folder Database
    

    [PS] C:\Windows\system32>Get-MailboxDatabase | fl Name,identity,admin*
    
    
    Name                : db_Administratifs
    Identity            : db_Administratifs
    AdministrativeGroup : Exchange Administrative Group (FYDIBOHF23SPDLT)
    AdminDisplayName    : db_Administratifs
    
    Name                : db_Restaurants
    Identity            : db_Restaurants
    AdministrativeGroup : Exchange Administrative Group (FYDIBOHF23SPDLT)
    AdminDisplayName    : db_Restaurants
    
    Name                : db_Informatique
    Identity            : db_Informatique
    AdministrativeGroup : Exchange Administrative Group (FYDIBOHF23SPDLT)
    AdminDisplayName    : db_Informatique
    

    Thank you for your follow-up.


    FXE
    lundi 9 janvier 2012 16:22
  • Hi FXE,
    That looks good. I was almost sure that admindisplayname wouldn't have a value.
    I think you should run the test "Permission Check" in Best Practice Analyzer that you find in the Toolbox.


    Martina Miskovic - http://www.nic2012.com/
    lundi 9 janvier 2012 16:39
  • Martina,

    This analysis report all is all right, only information messages indicate the containers was found as expected :


    FXE
    lundi 9 janvier 2012 19:59
  • I disabled the OAB distribution through the Public Folder.

    I will retry the Gulab's solution (http://www.exchangeranger.blogspot.com/2011/12/error-cannot-bind-argument-to-parameter.html).

    Good afternoon.


    FXE
    • Modifié FXE mardi 10 janvier 2012 16:12
    mardi 10 janvier 2012 16:12
  • Gulab, before I start your manipulation, could you tell me how you restored the Public Folder EDB file  ?

    Thank you.


    FXE
    mardi 10 janvier 2012 18:30
  • In my scenario, It was just one Exchange server. I am not sure how many exchange server don you have!

    Copy the .edb file of Public Folder Database and keep it aside. Delete the Public Folder Database and start the installation.
    once the installation is done, paste the copied .edb file at the location of database and mount the PF Database.

    Note: Make sure you have This database can be overwritten by restore Checked.
    Post the update. 


    Gulab Prasad MCITP: Exchange 2010-2007 | Lync Server 2010 | Windows Server 2008 | MyBlog: www.ExchangeRanger.Blogspot.com | Skype: Exchange.Ranger
    mardi 10 janvier 2012 19:53
  • Sorry but I don't want to crash my Public Folder so, when you say delete Public Folder Database, is it in EMC, on the HDD or both ?


    FXE
    mardi 10 janvier 2012 20:06
  • It will be from EMC, not from HDD.
    It won't crash your PF Database :) 
    Gulab Prasad MCITP: Exchange 2010-2007 | Lync Server 2010 | Windows Server 2008 | MyBlog: www.ExchangeRanger.Blogspot.com | Skype: Exchange.Ranger
    mardi 10 janvier 2012 20:29
  • OK, so I summarize :

    • Check "This database can be overwritten" on the PF Database in EMC
    • Unmount PF Database
    • Copy the PF Database EDB file on other location
    • Delete the PF Database from EMC
    • Install SP2
    • Paste the copied PF Database EDB file at its original location : the EDB file doesn't need to be patch by SP2 ?
    • Mount the PF Database : do you meen create a new PF Database which points to the original EDB file ?

    Thank you !


    FXE
    mercredi 11 janvier 2012 13:45
  • Perfect o :)
    Gulab Prasad MCITP: Exchange 2010-2007 | Lync Server 2010 | Windows Server 2008 | MyBlog: www.ExchangeRanger.Blogspot.com | Skype: Exchange.Ranger
    mercredi 11 janvier 2012 13:49
  • OK, so I hope this night will be THE night ! ;-)

    And what about this : the EDB file doesn't need to be patched by SP2 ?


    FXE

    • Modifié FXE mercredi 11 janvier 2012 14:10
    mercredi 11 janvier 2012 14:09
  • No, you don't patch .EDB files, you patch/upgrade exchange binary files.

    All the best..


    Gulab Prasad MCITP: Exchange 2010-2007 | Lync Server 2010 | Windows Server 2008 | Blog: www.ExchangeRanger.Blogspot.com | Skype: Exchange.Ranger
    mercredi 11 janvier 2012 14:20
  • Hi all,

    Damned, EMS tells me the Public Folder Database must be empty before database deletion... So I do an other attempt this evening...

    Have a good day.


    FXE
    • Modifié FXE jeudi 12 janvier 2012 09:52
    jeudi 12 janvier 2012 08:43
  • Hi all,

    After delete Public Folder Database success, I've just tried to install SP2 again with GUI installer, and the same error occured, I don't understand...

    I'm retrying via the cmd setup.com /mode:Upgrade /InstallWindowsComponents with admin privileges...


    FXE
    • Modifié FXE jeudi 12 janvier 2012 20:39
    jeudi 12 janvier 2012 20:37
  • This installation drives me crazy...
    As before, 2 mailbox databases were created, but this time a public folder database were created to, named "Public Folder Database 1236659122" with an EDB file about near 270 Mo, this is twice the original PF Database weight....
    Delete this new PFDatabase, copy original EDB file, try mount PF Database : failed
    --------------------------------------------------------
    Microsoft Exchange Error
    --------------------------------------------------------
    Unable to mount the database 'Public Folder Database'.
    
    Public Folder Database
    Failed
    Error :
    Unable to mount the specified database. Specified database : Public Folder Database ; error code : Operation failed Active Manager. Error : the database action failed. Error : the operation failed with message : MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=1011)
     [Database: Public Folder Database, Serveur: EXC.domain.local].
    
    Operation failed Active Manager. Error : the database action failed. Error : the operation failed with message : MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=1011)
     [Database: Public Folder Database, Serveur: EXC.domain.local]
    
    Operation failed Active Manager. Error : the operation failed with message : MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=1011)
     [Serveur: EXC.domain.local]
    
    MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=1011)
    
    
    
    
    
    --------------------------------------------------------
    OK
    --------------------------------------------------------
    
    
    I'm out of hopes....
    Please save me !!!

    FXE
    jeudi 12 janvier 2012 21:46
  • Update : Create a new PF Database generated a n EDB file about near 270 Mo. Recopied the original PF Database content I was saved in my Outlook, PF Database seems OK.

    So nothing has changed...


    FXE
    jeudi 12 janvier 2012 21:55
  • OMG....I can't believe this...:)
    I thought I was the only One ;)

    Here you Go...Let me know if it works for you...
    http://www.exchangeranger.blogspot.com/2011/12/error-cannot-bind-argument-to-parameter.html  


    Gulab | MCITP: Exchange 2010-2007 | Lync Server 2010 | Windows Server 2008 | Skype: Exchange.Ranger | Blog: www.ExchangeRanger.Blogspot.com

    Gulab,

    Your solution is much closer to good result. But when the installation starts it create public folder DB in the default installation directory and then faild with same error. This is cyclic. I've delete this database from disk, clear it from Configuration partition, start the service (MSExchangeIS), start installation and then get the same error and so on and so on. It drives me crazy. I am seriously think that installation of new server wil be quicker? But I want to know why it so? Anybody know is it possible to restrict the PFDB creation during SP2 installation process?


    MCSA: Messaging

    • Proposé comme réponse SmittyJR18 mercredi 5 décembre 2012 20:56
    • Non proposé comme réponse SmittyJR18 mercredi 5 décembre 2012 20:56
    mercredi 4 juillet 2012 20:43
  • Hello world !

    This message just for informing you the SP2 was successfully installed yesterday !

    The solution was add the register key "HKLM\SOFTWARE\Microsoft\ExchangeServer\v14\MailboxRole\ConfiguredVersion" with value "14.2.247.5".

    Now I'm working to install SP3 with other problem...

    I'll open a new post soon to explain this.

    Have a goos day.


    FXE

    • Marqué comme réponse FXE mercredi 27 mars 2013 10:46
    mercredi 27 mars 2013 10:46