setup mode recoverserver fails on HT role installation
Having some problems trying to do a server recovery for a client. here's what i've done so far: reinstalled os reset computer account rejoined server to domain installed server 2008 r2 sp1 added exchange prerequisites from the exchange 2010 sp1 installation i ran setup /m:recoverserver the server gets through all the prereqs and installing the language packs and the management console but when it gets to the Hub Transport role installation it errors out with the following error: The following error was generated when "$error.Clear();Set-EnvironmentVariable -Name "ExchangeInstallPath" -Value "$RoleInstallPath" -Target Machine;" was run: "Cannot bind argument to parameter 'Value' because it is an empty string.". Cannot bind argument to parameter 'Value' because it is an empty string. here are the relevant portions of the log, please let me know if you have any ideas or need more information [05/06/2011 01:28:31.0715] [1] Executing: $RoleBinPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Bin' [05/06/2011 01:28:31.0716] [1] Executing: $RoleDatacenterPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Datacenter' [05/06/2011 01:28:31.0718] [1] Executing: $RoleDatacenterServiceEndpointABCHContactService = '<ServiceEndpoint><Url>http://pvt-contacts.msn.com/abservice/abservice.asmx</Url></ServiceEndpoint>' [05/06/2011 01:28:31.0719] [1] Executing: $RoleDatacenterServiceEndpointDomainPartnerManageDelegation = '<ServiceEndpoint><Url>https://domains.live.com/service/managedelegation.asmx</Url></ServiceEndpoint>' [05/06/2011 01:28:31.0720] [1] Executing: $RoleDatacenterServiceEndpointDomainPartnerManageDelegation2 = '<ServiceEndpoint><Url>https://domains.live.com/service/managedelegation2.asmx</Url></ServiceEndpoint>' [05/06/2011 01:28:31.0721] [1] Executing: $RoleDatacenterServiceEndpointLiveFederationMetadata = '<ServiceEndpoint><Url>https://nexus.passport.com/FederationMetadata/2006-12/FederationMetadata.xml</Url></ServiceEndpoint>' [05/06/2011 01:28:31.0722] [1] Executing: $RoleDatacenterServiceEndpointLiveGetUserRealm = '<ServiceEndpoint><Url>https://login.live.com/GetUserRealm.srf</Url></ServiceEndpoint>' [05/06/2011 01:28:31.0723] [1] Executing: $RoleDatacenterServiceEndpointLiveServiceLogin2 = '<ServiceEndpoint><Url>https://login.live.com/RST2.srf</Url></ServiceEndpoint>' [05/06/2011 01:28:31.0724] [1] Executing: $RoleDatacenterServiceEndpointMsoFederationMetadata = '<ServiceEndpoint><Url>https://nexus.microsoftonline-p.com/FederationMetadata/2006-12/FederationMetadata.xml</Url></ServiceEndpoint>' [05/06/2011 01:28:31.0726] [1] Executing: $RoleDomainController = 'dc2.contoso.local' [05/06/2011 01:28:31.0727] [1] Executing: $RoleFqdnOrName = 'EXCH02.contoso.local' [05/06/2011 01:28:31.0728] [1] Executing: $RoleInstallationMode = 'DisasterRecovery' [05/06/2011 01:28:31.0729] [1] Executing: $RoleInstallPath = 'C:\Program Files\Microsoft\Exchange Server\V14\' [05/06/2011 01:28:31.0730] [1] Executing: $RoleInvocationID = '20110505-21283107101029131774' [05/06/2011 01:28:31.0732] [1] Executing: $RoleIsDatacenter = $False [05/06/2011 01:28:31.0733] [1] Executing: $RoleIsPartnerHosted = $False [05/06/2011 01:28:31.0734] [1] Executing: $RoleIsServerSbs = $False [05/06/2011 01:28:31.0735] [1] Executing: $RoleLanguagePacksPath = 'C:\Users\administrator.CONTOSO\Desktop\sp1\' [05/06/2011 01:28:31.0736] [1] Executing: $RoleLoggedOnUser = 'CONTOSO\administrator' [05/06/2011 01:28:31.0737] [1] Executing: $RoleLoggingPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Logging' [05/06/2011 01:28:31.0739] [1] Executing: $RoleNetBIOSName = 'EXCH02' [05/06/2011 01:28:31.0740] [1] Executing: $RolePreviousVersion = $null [05/06/2011 01:28:31.0741] [1] Executing: $RoleProductPlatform = 'amd64' [05/06/2011 01:28:31.0742] [1] Executing: $RoleRoleName = 'BridgeheadRole' [05/06/2011 01:28:31.0743] [1] Executing: $RoleSetupLoggingPath = 'C:\ExchangeSetupLogs' [05/06/2011 01:28:31.0744] [1] Executing: $RoleStartTransportService = $True [05/06/2011 01:28:31.0745] [1] Executing: $RoleTargetVersion = '14.01.0218.015' [05/06/2011 01:28:31.0746] [1] Executing: $RoleUpdatesDir = 'C:\Users\administrator.CONTOSO\Desktop\sp1\Updates' [05/06/2011 01:28:31.0748] [1] 195 tasks were found to execute. [05/06/2011 01:28:31.0748] [1] Processing component 'All Roles Common First - Run Once' (Configuring the server.). [05/06/2011 01:28:31.0750] [1] Executing: Set-WERRegistryMarkers; [05/06/2011 01:28:31.0755] [2] Active Directory session settings for 'Set-WERRegistryMarkers' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc2.contoso.local', Preferred Global Catalog: 'dc2.contoso.local', Preferred Domain Controllers: '{ dc2.contoso.local }' [05/06/2011 01:28:31.0755] [2] Beginning processing Set-WERRegistryMarkers [05/06/2011 01:28:32.0671] [2] Ending processing Set-WERRegistryMarkers [05/06/2011 01:28:32.0673] [1] Executing: Set-EnvironmentVariable -Name "ExchangeInstallPath" -Value "$RoleInstallPath" -Target Machine; [05/06/2011 01:28:32.0740] [1] The following 1 error(s) occurred during task execution: [05/06/2011 01:28:32.0743] [1] 0. ErrorRecord: Cannot bind argument to parameter 'Value' because it is an empty string. [05/06/2011 01:28:32.0743] [1] 0. ErrorRecord: System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Value' because it is an empty string. at System.Management.Automation.ParameterBinderBase.ValidateNullOrEmptyArgument(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, Type argumentType, Object parameterValue, Boolean recurseIntoCollections) at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags) at System.Management.Automation.CmdletParameterBinderController.BindParameter(CommandParameterInternal argument, MergedCompiledCommandParameter parameter, ParameterBindingFlags flags) at System.Management.Automation.CmdletParameterBinderController.BindParameter(UInt32 parameterSets, CommandParameterInternal argument, MergedCompiledCommandParameter parameter, ParameterBindingFlags flags) at System.Management.Automation.CmdletParameterBinderController.BindParameters(UInt32 parameterSets, Collection`1 arguments, CommandMetadata commandMetadata) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments) at System.Management.Automation.CommandProcessor.BindCommandLineParameters(CommandParameterInternal[] parameters) at System.Management.Automation.CommandProcessor.Prepare(CommandParameterInternal[] parameters) at System.Management.Automation.CommandProcessorBase.DoPrepare(CommandParameterInternal[] parameters) at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream) at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate) [05/06/2011 01:28:32.0758] [1] [ERROR] The following error was generated when "$error.Clear(); Set-EnvironmentVariable -Name "ExchangeInstallPath" -Value "$RoleInstallPath" -Target Machine; " was run: "Cannot bind argument to parameter 'Value' because it is an empty string.". [05/06/2011 01:28:32.0758] [1] [ERROR] Cannot bind argument to parameter 'Value' because it is an empty string. [05/06/2011 01:28:32.0774] [1] [ERROR-REFERENCE] Id=AllRolesCommonFirst_RunOnce___9fae27cba21348db814fcc4ffc0a7fe8 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup [05/06/2011 01:28:32.0775] [1] Setup is stopping now because of one or more critical errors.
May 6th, 2011 5:35am

Was it RTM before and you are running /RecoverServer with SP1 files? What was the Windows Level? Gulab | MCTS-MCITP Messaging: 2010 | MCTS-MCITP Messaging: 2007 | MCC 2011 | Skype: Gulab.Mallah
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2011 8:29am

The windows was at server 2008 r2 sp1 prior to failure and this is what it is now. Exchange was SP1 prior to failure and using SP1 files to do recovery now.
May 6th, 2011 9:28pm

What edition of Exchange Server you are running? Cause i see Datacenter in the error messageGulab | MCTS-MCITP Messaging: 2010 | MCTS-MCITP Messaging: 2007 | MCC 2011 | Skype: Gulab.Mallah
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2011 10:49pm

Exchange was previously still in trial mode (had 150 days left). so enterprise at that point. other servers are standard.
May 6th, 2011 11:59pm

also as an FYI the install media i'm using now is the same that was used to build this same server previously.
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2011 12:01am

unfortunately since i need to get this server back up I am going to do it from scratch. Going to delete the exchange server object from AD and reformat the server and do the install from scratch. I am going to attempt to reproduce this in lab as well.
May 7th, 2011 7:21am

Hi bryan, Sorry for the delay response. But I'm afraid it is unsupported to uninstall Exchange 2010 manually. By the way, suggest you call PSS directly if you have very urgent Exchange issues. https://support.microsoft.com/oas/default.aspx?gprid=13965&st=1&wfxredirect=1Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 9th, 2011 9:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics