Working with a client on SBS 2011 and found that previous vendor didn't install updates. Trying to install Exch 2010 SP3 and errors out on WebServicesVirtualDirectory. Any help appreciated.
Language FilesCompleted
Elapsed Time: 00:07:24
Restoring services
Completed
Elapsed Time: 00:00:02
Languages
Completed
Elapsed Time: 00:03:20
Hub Transport Role
Completed
Elapsed Time: 00:04:53
Client Access Role
Failed
Error:
The following error was generated when "$error.Clear();
update-WebServicesVirtualDirectoryVersion -DomainController $RoleDomainController;
$urlToUse = "https://" + $RoleFqdnOrName + "/ews/exchange.asmx";
$existingVDirs = get-WebServicesVirtualDirectory -Server $RoleFqdnOrName -DomainController $RoleDomainController;
if ($existingVDirs -ne $null)
{
if ($RoleIsDatacenter -eq $true)
{
$existingVDirs | set-webservicesvirtualdirectory -InternalNLBBypassUrl $urlToUse -WindowsAuthentication $true -WSSecurityAuthentication:$true -DomainController $RoleDomainController -UpdateManagementVirtualDirectory -CertificateAuthentication $true -Force -GzipLevel High;
}
else
{
$existingVDirs | set-webservicesvirtualdirectory -InternalNLBBypassUrl $urlToUse -WindowsAuthentication $true -WSSecurityAuthentication:$true -DomainController $RoleDomainController -CertificateAuthentication $true -Force -GzipLevel High;
}
}
else
{
new-WebServicesVirtualDirectory -windowsAuthentication:$true -WSSecurityAuthentication:$true -InternalNLBBypassUrl $urlToUse -DomainController $RoleDomainController -Force -GzipLevel High;
}
" was run: "Object reference not set to an instance of an object.".
Object reference not set to an instance of an object.