ymenational
asked on
Exchange 2007/outlook 2007 Out of Office server is unavailable
I'm receiving this out of office error where the server is unavailable. I've gone through the whole web and dont' seem to be a security problem. Here is what i get when i do a get-outlookwebservices | fl
Id : 1003
Type : Information
Message : About to test AutoDiscover with the e-mail address e-mail@domain.com
Id : 1007
Type : Information
Message : Testing server domain with the published name https://domain/EWS/Exchange.asmx & .
Id : 1019
Type : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover
URL on this object is https://domain/autodiscover/autodiscover.xml.
Id : 1013
Type : Error
Message : When contacting https://domain/autodiscover/autodiscover.xml received the error The underlying connection was closed: An unexpected error occurred on a send.
Id : 1013
Type : Error
Message : When contacting https://domain/autodiscover/autodiscover.xml received the error Authentication failed because the remote
party has closed the transport stream.
Id : 1006
Type : Error
Message : The Autodiscover service could not be contacted.
Any help would be appreciated.
Thank you
Id : 1003
Type : Information
Message : About to test AutoDiscover with the e-mail address e-mail@domain.com
Id : 1007
Type : Information
Message : Testing server domain with the published name https://domain/EWS/Exchange.asmx & .
Id : 1019
Type : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover
URL on this object is https://domain/autodiscover/autodiscover.xml.
Id : 1013
Type : Error
Message : When contacting https://domain/autodiscover/autodiscover.xml received the error The underlying connection was closed: An unexpected error occurred on a send.
Id : 1013
Type : Error
Message : When contacting https://domain/autodiscover/autodiscover.xml received the error Authentication failed because the remote
party has closed the transport stream.
Id : 1006
Type : Error
Message : The Autodiscover service could not be contacted.
Any help would be appreciated.
Thank you
ASKER
thanks jawad1481.
I checked through the settings and it was the exact same as how you had it. the data was already /lm/w3svc/1/root/autodisco ver.
I checked through the settings and it was the exact same as how you had it. the data was already /lm/w3svc/1/root/autodisco
do you have exchange server 2003 ?
please if you have disabled public folder referrals and also if the clients are pointing towards exchange server 2003, point it towards exchange server 2007.
please if you have disabled public folder referrals and also if the clients are pointing towards exchange server 2003, point it towards exchange server 2007.
Can you try to connect to that url with explorer
<https://autodiscover.nortrax.com/autodiscover/autodiscover.xml>
And see the error you get &
It should be something like
<?xml version="1.0" encoding="utf-8" ?>
<Autodiscover
xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response>
<Error Time="12:13:02.9416830" Id="3179610563">
<ErrorCode>600</ErrorCode>
<Message>Invalid Request</Message>
<DebugData />
</Error>
</Response>
</Autodiscover>
Try this
Run the command to recreate the Autodiscover virtual directory
1. Remove-AutoDiscoverVirtual Directory -Identity "<CAS_servername>\Autodisc over
(Default Web Site)"
2. New-AutodiscoverVirtualDir ectory
Later set the AutodiscoverServiceInterna lURI to internal FQDN name of the CAS
server as follows:
Set-ClientAccessServer -Identity "<CAS_servername>\Autodisc over (Default Web Site)"
-AutodiscoverServiceIntern alURI
"<https://<Internal-FQDN_name_of_C AS>/autodi scover/aut odiscover. xml >"
Also make sure that ASP.NET v2.0 is set to Allowed under Web Services Extensions
<https://autodiscover.nortrax.com/autodiscover/autodiscover.xml>
And see the error you get &
It should be something like
<?xml version="1.0" encoding="utf-8" ?>
<Autodiscover
xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response>
<Error Time="12:13:02.9416830" Id="3179610563">
<ErrorCode>600</ErrorCode>
<Message>Invalid Request</Message>
<DebugData />
</Error>
</Response>
</Autodiscover>
Try this
Run the command to recreate the Autodiscover virtual directory
1. Remove-AutoDiscoverVirtual
(Default Web Site)"
2. New-AutodiscoverVirtualDir
Later set the AutodiscoverServiceInterna
server as follows:
Set-ClientAccessServer -Identity "<CAS_servername>\Autodisc
-AutodiscoverServiceIntern
"<https://<Internal-FQDN_name_of_C
Also make sure that ASP.NET v2.0 is set to Allowed under Web Services Extensions
please let me know if this is happening internally or for the external clients
if it is for the internal clients if you are able to create profile using autodiscover.
if you are bale to do so please run the test outlookconnectivity test from outlook client
press control button and right click on the outlook icon on the task bar just beside time
and then check what is the OOF url you are getting
and try to brows the same url from the same client machine and check if u get a XML page
if it is for the internal clients if you are able to create profile using autodiscover.
if you are bale to do so please run the test outlookconnectivity test from outlook client
press control button and right click on the outlook icon on the task bar just beside time
and then check what is the OOF url you are getting
and try to brows the same url from the same client machine and check if u get a XML page
ASKER
Thanks for the responses.
I dont want to remove teh autodiscovervirtual directory yet because it was working previously to our certificate expiration. We renewed the certificate and our out of office and viewing others calenders is not working anymore. OOF does work from the OWA.
I changed some DNS settings and now I have this error. running the test-outlookwebservices command
Id : 1003
Type : Information
Message : About to test AutoDiscover with the e-mail address EMAIL
Id : 1007
Type : Information
Message : Testing server ymemscas01.loc.y-me.org with the published name https:
//FQDN/EWS/Exchange.asmx & .
Id : 1019
Type : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover
URL on this object is https://FQDN/autodiscover/autodiscover.x
ml.
Id : 1013
Type : Error
Message : When contacting https://FQDN/autodiscover/autodiscover.xml rece
ived the error The remote server returned an error: (401) Unauthorize
d.
Id : 1006
Type : Error
Message : The Autodiscover service could not be contacted.
I have ran the outlook conectivity test and i get autoconfiguraion was unable to determine your settings.
I dont want to remove teh autodiscovervirtual directory yet because it was working previously to our certificate expiration. We renewed the certificate and our out of office and viewing others calenders is not working anymore. OOF does work from the OWA.
I changed some DNS settings and now I have this error. running the test-outlookwebservices command
Id : 1003
Type : Information
Message : About to test AutoDiscover with the e-mail address EMAIL
Id : 1007
Type : Information
Message : Testing server ymemscas01.loc.y-me.org with the published name https:
//FQDN/EWS/Exchange.asmx & .
Id : 1019
Type : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover
URL on this object is https://FQDN/autodiscover/autodiscover.x
ml.
Id : 1013
Type : Error
Message : When contacting https://FQDN/autodiscover/autodiscover.xml rece
ived the error The remote server returned an error: (401) Unauthorize
d.
Id : 1006
Type : Error
Message : The Autodiscover service could not be contacted.
I have ran the outlook conectivity test and i get autoconfiguraion was unable to determine your settings.
A valid test to check the problem would be:
On the CAS server try the following URLS using IE on CAS server:
https://certificatename/Autodiscover/Autodiscover.xml. : It will prompt for
credentials. After prompting a couple of times we get the following error:
Error: Access is Denied.
https://localhost/Autodiscover/Autodiscover.xml : It will work fine and give an
output.
We were running into a problem on IIS. To test further we will give integrated auth on
iisstart.htm and tried the following URL:
https://certificatename/iisstart.htm , if this fails than please follow the artile below and try the second method.
http://support.microsoft.com/?id=896861.
On the CAS server try the following URLS using IE on CAS server:
https://certificatename/Autodiscover/Autodiscover.xml. : It will prompt for
credentials. After prompting a couple of times we get the following error:
Error: Access is Denied.
https://localhost/Autodiscover/Autodiscover.xml : It will work fine and give an
output.
We were running into a problem on IIS. To test further we will give integrated auth on
iisstart.htm and tried the following URL:
https://certificatename/iisstart.htm , if this fails than please follow the artile below and try the second method.
http://support.microsoft.com/?id=896861.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
we had to reinstall asp.net some how it broke according to microsoft.
CAUSE:
======
Incorrect configuration of Autodiscover virtual directory in Metabase.
RESOLUTION:
===========
Autodiscover Virtual Directory properties . . .Virtual Directory Tab. .
.Application Pool was grayed out and we cant make any changes in it.
1) Run IIS 6.0 Metabase Explorer from IIS 6.0 Resource Kit (Need to download
separately)
2) Go to ==> Start ==> Programs ==> IIS Resources ==> Metabase Explorer ==> Launch
Metabase Explorer.
3) Expand LM ==> W3SVC ==> 1 ==> Root ==> Autodiscover ==> In the Right pane
Name : AppRoot
DataType : String
Data : It was /Autodiscover so we changed it to
/LM/W3SVC/1/ROOT/Autodisco
4) Restart the IIS services or Perform an iisreset.
let me know if this works.