Single Server Install - Coexistence with Ex2010 SP3
Currently on CU1 with Ex2013
Error Recieved during setup:
11/26/2013 20:11:05.0256] [1] [ERROR] The following error was generated when "$error.Clear();
$configFilePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "GenericAppPoolConfigWithGCServerEnabledFalse.config");
$rpcProxyCLRConfigFilePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "MSExchangeRpcProxyAppPool_Cafe_CLRConfig.config");
$windir = $env:windir;
[System.Array] $appPoolsExcludedFromWorkstationGC = "msexchangerpcproxyapppool","internalexchangesharedapppool";
$appPools = &"$windir\system32\inetsrv\appcmd.exe" "list" "apppool";
foreach($appPool in $appPools)
{
$startIndex = $appPool.IndexOf('"') + 1;
$numChars = $appPool.SubString($startIndex).IndexOf('"');
$appPoolName = $appPool.SubString($startIndex, $numChars);
# Do not enable Workstation GC for AppPools that Allocate greater than 50MB/s at their peak e.g. MSExchangeRpcProxyAppPool
if ($appPoolName.ToLower() -eq "msexchangerpcproxyapppool")
{
$c= &"$windir\system32\inetsrv\appcmd.exe" "set" "apppool" "$appPoolName" /CLRConfigFile:"$rpcProxyCLRConfigFilePath";
Write-ExchangeSetupLog -Info ($c)
}
elseif ($appPoolsExcludedFromWorkstationGC.Contains($appPoolName.ToLower()) -ne $true)
{
# We'll set this whether or not the app pool exists. Failures are ignored.
$a= &"$windir\system32\inetsrv\appcmd.exe" "set" "apppool" "$appPoolName" /managedRuntimeLoader:"";
$b= &"$windir\system32\inetsrv\appcmd.exe" "set" "apppool" "$appPoolName" /CLRConfigFile:"$configFilePath";
Write-ExchangeSetupLog -Info ($a + " " + $b)
}
else
{
Write-ExchangeSetupLog -Info "Skipping $appPoolName since it should remain as Server GC";
}
}
" was run: "Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'Message'. Specified method is not supported.".
[11/26/2013 20:11:05.0256] [1] [ERROR] Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'Message'. Specified method is not supported.
[11/26/2013 20:11:05.0256] [1] [ERROR] Specified method is not supported.
[11/26/2013 20:11:05.0256] [1] [ERROR-REFERENCE] Id=CafePostSetupComponent___SelectedAppPoolsToGCServerFalseCafe Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[11/26/2013 20:11:05.0256] [1] Setup is stopping now because of one or more critical errors.
[11/26/2013 20:11:05.0256] [1] Finished executing component tasks.
[11/26/2013 20:11:05.0506] [1] Ending processing Start-PostSetup
[11/26/2013 20:22:02.0489] [0] End of Setup
Brian A Bohanna