Note: the following problem applies to both Exchange 2007 and 2010.
An administrator needed help after installing Exchange 2010:
The install went smoothly, or so I thought. Once we started using the server, problems surfaced.Out of Office doesn't work. When you try to open it, it returns an error "Your Out of Office settings cannot be displayed, because the server is currently unavailable. try again later."
When I attempt to download the offline address book, I get a synchronization error: "Task ‘username@domain.com’ reported error (0x8004010f) : ‘The operation failed. An object cannot be found.’ A server (URL) could not be located."
I'm not sure if its related, but setting up new profiles in Outlook often results in "The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action."
Autodiscover services are configured, Outlook Anywhere is enabled and properly configured per TechNet.
The Exchange Web Service (EWS) is the web service that allows access to the Out of Office service. If either the internal or external URL for the EWS is missing or incorrect, OOF will fail and other services may not work as expected.
Using Exchange Management Shell, check the URLs assigned to the web service virtual directory using the Get-WebServicesVirtualDirectory command. If either the internal or external URL is missing or incorrect, set them using the Set-WebServicesVirtualDirectory command.
Get-WebServicesVirtualDirectory
Type or paste this line into Exchange Management Shell to check the EWS URLs
Get-webservicesvirtualdirectory | fl identity,internalurl,externalurl
If the server is configured correctly, the command returns results similar to the following, with URLs in both the InternalUrl and ExternalUrl fields.
Identity : Server_name\EWS (Default Web Site)
InternalUrl :
ExternalUrl :
Set-WebServicesVirtualDirectory cmdlet
If the external URL is missing, set it using the Set-WebServicesVirtualDirectory command:
Set-WebServicesVirtualDirectory -Identity "Server\EWS (Default Web Site)" -InternalURL -ExternalURL -BasicAuthentication:$true
Verify the server names are correct by running the following code again:
Get-WebServicesVirtualDirectory | fl identity,internalurl,externalurl
(Remember to replace the server names in the Set-WebServicesVirtualDirectory command with the correct server names for your organization.).
More Information
Get-WebServicesVirtualDirectory
//technet.microsoft.com/en-us/library/aa998810(EXCHG.140).aspx
Set-WebServicesVirtualDirectory
Set-WebServicesVirtualDirectory
Overview of the Autodiscover Service
A new feature is available that enables Outlook 2007 to use DNS Service Location (SRV) records to locate the Exchange Autodiscover service
The required hotfix for Outlook 2007 is included in the update rollup for Outlook 2007, KB 939184: Description of the update rollup for Outlook 2007: June 27, 2007
After runnig Test-OutlookWebServices |fl command I got the results below
Id : 1003
Type : Information
Message : About to test AutoDiscover with the e-mail address Administrator2@sha
.co.za.
Id : 1007
Type : Information
Message : Testing server Server1.local with the published name https://Server1.local/ews/exchange.asmx & https://Server1.local/EWS/Exchange.asmx.
Id : 1019
Type : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover
URL on this object is https://Server1.local/Autodisco
ver/Autodiscover.xml.
Id : 1006
Type : Information
Message : The Autodiscover service was contacted at https://Server1.local/Autodiscover/Autodiscover.xml.
WARNING: An unexpected error has occurred and debug information is being
generated: Object reference not set to an instance of an object.
Test-OutlookWebServices : Object reference not set to an instance of an object.
At line:1 char:24
+ Test-OutlookWebServices <<<< |fl
+ CategoryInfo : NotSpecified: (:) [Test-OutlookWebServices], Nul
lReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange
May you please help,, This problem happened after upgrading office 2003 to 2007. it works fine on office 2003 and also outlook web access. i tried most suggested solution to no success
Do you have the latest rollup installed on the server?
Did you check for net framework problems? https://support.microsoft.com/kb/958934
Hi,
My OOF works in OWA with both the Internal URL and the External URL but not in Outlook 2010. Any ideas?
Do you get an error message?
Hello Diane,
I experience the same problem as Doug Dydo. The error message is: Your automatic reply settings cannot be displayed because the server is currently unavailable. Try again later.
Does the offline address book work? If not the admin needs to check the EWS settings.
Hi,
I'm recently have the problem with the Out of Office, when an user turn on the Out of Office in his Outlook or by OWA, this don't work. We can see it on but when we send internal or external emails with don't received the auto reply message that the person is out of office. The only solution that works for us is to restart the server, but we can't do this every time. There's any way we can check if the out of office is working or a service that control it.
Thanks
After going through more websites and suggestions than I can remember, the solution to my problem of OOF not working was to reset the read only tick on "C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Autodiscover" folder . Removed the Read only, apply, it works.
OMG Stephanie that solved my probems! (no access to OoO and shared calendars)
Thanks!