harbz96
asked on
Autodiscover
When i goto https://servername.domain.local/autodiscover/autodiscover.xml
it shows a IIS 8.0 Detailed Error - HTTP Error 500.0 - Internal Server Error
Anyone know why this would be.
Steps i have taken to attempt to fix issue.
* Reset all IIS Virtual Directories.
*Reset Autodiscover Virtual Directory Manually.
None fixed issue
it shows a IIS 8.0 Detailed Error - HTTP Error 500.0 - Internal Server Error
Anyone know why this would be.
Steps i have taken to attempt to fix issue.
* Reset all IIS Virtual Directories.
*Reset Autodiscover Virtual Directory Manually.
None fixed issue
Verify the SSL configuration on the Autodiscover Virtual directory. It should be set to ignore client certificates. Restart IIS after the change.
ASKER
Already set on ignore
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
When you browse to the Autodiscover directory that is the expected error. Nothing wrong here. That is because you are not Outlook, running a query to get the information.
If you got anything other than an error then I would say something was wrong.
What were you trying to achieve?
Simon.
If you got anything other than an error then I would say something was wrong.
What were you trying to achieve?
Simon.
ASKER
Davorin. Not in office till Monday will post then.
Simon. I am trying to use out of office. It says cannot connect to server
Simon. I am trying to use out of office. It says cannot connect to server
The test you did doesn't prove anything for trying to resolve Out of Office issues. The only reason to browse to the Autodiscover site is to verify if you have SSL certificate issues.
The primary reasons that Autodiscover fails (and therefore OOTO doesn't work) are
- SSL trust issues.
- DNS issues
- The value of get-clientaccessserver | select identity, autodiscoverserviceinterna luri is wrong.
You have attempted to use the .local address, which means you are either using a self signed certificate or no certificate at all. Internal addresses are not allowed on trusted SSL certificates, so you need to use a split DNS system so that the external host names resolve internally and Exchange is adjusted to match.
http://semb.ee/hostnames
Simon.
The primary reasons that Autodiscover fails (and therefore OOTO doesn't work) are
- SSL trust issues.
- DNS issues
- The value of get-clientaccessserver | select identity, autodiscoverserviceinterna
You have attempted to use the .local address, which means you are either using a self signed certificate or no certificate at all. Internal addresses are not allowed on trusted SSL certificates, so you need to use a split DNS system so that the external host names resolve internally and Exchange is adjusted to match.
http://semb.ee/hostnames
Simon.
ASKER
Am back in office.
OS is Server 2012
Exchange is 2013
Error in Event Log is
Protocol /Autodiscover failed to process request from identity NT AUTHORITY\SYSTEM. Exception: Microsoft.Exchange.Data.Di rectory.AD TopologyUn expectedEx ception: Unexpected error when calling the Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)'. Error details: Access is denied.. ---> System.ServiceModel.Securi ty.Securit yAccessDen iedExcepti on: Access is denied.
Server stack trace:
at System.ServiceModel.Channe ls.Service Channel.Th rowIfFault Understood (Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channe ls.Service Channel.Ha ndleReply( ProxyOpera tionRuntim e operation, ProxyRpc& rpc)
at System.ServiceModel.Channe ls.Service Channel.Ca ll(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channe ls.Service ChannelPro xy.InvokeS ervice(IMe thodCallMe ssage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channe ls.Service ChannelPro xy.Invoke( IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Pr oxies.Real Proxy.Hand leReturnMe ssage(IMes sage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Pr oxies.Real Proxy.Priv ateInvoke( MessageDat a& msgData, Int32 type)
at Microsoft.Exchange.Data.Di rectory.To pologyDisc overy.ITop ologyClien t.GetServe rsForRole( String partitionFqdn, List`1 currentlyUsedServers, ADServerRole role, Int32 serversRequested)
at Microsoft.Exchange.Data.Di rectory.Se rviceTopol ogyProvide r.<>c__Dis playClass1 0.<Interna lGetServer sForRole>b __f(IPoole dServicePr oxy`1 proxy)
at Microsoft.Exchange.Net.Ser viceProxyP ool`1.TryC allService WithRetry( Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception& exception)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Di rectory.Se rviceTopol ogyProvide r.GetConfi gDCInfo(St ring partitionFqdn, Boolean throwOnFailure)
at Microsoft.Exchange.Data.Di rectory.To pologyProv ider.Popul ateConfigN amingConte xts(String partitionFqdn)
at Microsoft.Exchange.Data.Di rectory.To pologyProv ider.GetCo nfiguratio nNamingCon text(Strin g partitionFqdn)
at Microsoft.Exchange.Data.Di rectory.AD Session.Ge tConfigura tionNaming Context(St ring partitionFqdn)
at Microsoft.Exchange.Data.Di rectory.AD DataSessio n.GetNamin gContext(A DNamingCon text adNamingContext)
at Microsoft.Exchange.Data.Di rectory.AD DataSessio n.GetConne ction(Stri ng preferredServer, Boolean isWriteOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)
at Microsoft.Exchange.Data.Di rectory.AD DataSessio n.GetReadC onnection( String preferredServer, String optionalBaseDN, ADObjectId& rootId, ADRawEntry scopeDeteriminingObject, DualSearchMode dualSearchMode)
at Microsoft.Exchange.Data.Di rectory.AD DataSessio n.Find(ADO bjectId rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCreator, CreateObjectsDelegate arrayCreator, Boolean includeDeletedObjects)
at Microsoft.Exchange.Data.Di rectory.AD DataSessio n.Find[TRe sult](ADOb jectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, Boolean includeDeletedObjects)
at Microsoft.Exchange.Data.Di rectory.Sy stemConfig uration.AD TopologyCo nfiguratio nSession.F indLocalSe rver()
at Microsoft.Exchange.Data.Di rectory.Sy stemConfig uration.Lo calServer. GetServer( )
at Microsoft.Exchange.Securit y.Authenti cation.Bac kendRehydr ationModul e.IsTokenS erializati onAllowed( WindowsIde ntity windowsIdentity)
at Microsoft.Exchange.Securit y.Authenti cation.Bac kendRehydr ationModul e.ProcessR equest(Htt pContext httpContext)
at Microsoft.Exchange.Securit y.Authenti cation.Bac kendRehydr ationModul e.OnAuthen ticateRequ est(Object source, EventArgs args).
AND ALSO
Process w3wp.exe (AutoDisc) (PID=12844). WCF request (Get Servers for purtills.local) to the Microsoft Exchange Active Directory Topology service on server (TopologyClientTcpEndpoint (localhost)) failed. Make sure that the service is running. In addition, make sure that the network ports that are used by Microsoft Exchange Active Directory Topology service are not blocked by a firewall. The WCF call was retried 1 time(s). Error Details
System.ServiceModel.Securi ty.Securit yAccessDen iedExcepti on: Access is denied.
Server stack trace:
at System.ServiceModel.Channe ls.Service Channel.Th rowIfFault Understood (Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channe ls.Service Channel.Ha ndleReply( ProxyOpera tionRuntim e operation, ProxyRpc& rpc)
at System.ServiceModel.Channe ls.Service Channel.Ca ll(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channe ls.Service ChannelPro xy.InvokeS ervice(IMe thodCallMe ssage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channe ls.Service ChannelPro xy.Invoke( IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Pr oxies.Real Proxy.Hand leReturnMe ssage(IMes sage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Pr oxies.Real Proxy.Priv ateInvoke( MessageDat a& msgData, Int32 type)
at Microsoft.Exchange.Data.Di rectory.To pologyDisc overy.ITop ologyClien t.GetServe rsForRole( String partitionFqdn, List`1 currentlyUsedServers, ADServerRole role, Int32 serversRequested)
at Microsoft.Exchange.Data.Di rectory.Se rviceTopol ogyProvide r.<>c__Dis playClass1 0.<Interna lGetServer sForRole>b __f(IPoole dServicePr oxy`1 proxy)
at Microsoft.Exchange.Net.Ser viceProxyP ool`1.TryC allService WithRetry( Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception& exception)
OS is Server 2012
Exchange is 2013
Error in Event Log is
Protocol /Autodiscover failed to process request from identity NT AUTHORITY\SYSTEM. Exception: Microsoft.Exchange.Data.Di
Server stack trace:
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
Exception rethrown at [0]:
at System.Runtime.Remoting.Pr
at System.Runtime.Remoting.Pr
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Net.Ser
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Securit
at Microsoft.Exchange.Securit
at Microsoft.Exchange.Securit
AND ALSO
Process w3wp.exe (AutoDisc) (PID=12844). WCF request (Get Servers for purtills.local) to the Microsoft Exchange Active Directory Topology service on server (TopologyClientTcpEndpoint
System.ServiceModel.Securi
Server stack trace:
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
Exception rethrown at [0]:
at System.Runtime.Remoting.Pr
at System.Runtime.Remoting.Pr
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Net.Ser
Which version of Exchange 2013 is it? RTM, CU1, CU2 or CU3?
Simon.
Simon.
ASKER
Not a hundred percent sure but i think it is RTM.
ASKER
Also when i go to https://exchangeaserver.purtills.local/autodiscover/autodiscover.xml or https://mail.purtills.local/autodiscover/autodiscover.xml
now it ask for user / pass
i enter it and it shows a error 600 page
now it ask for user / pass
i enter it and it shows a error 600 page
That is the expected behaviour.
You aren't Outlook, which means the result is not going to be valid.
If the server is at RTM I would start by installing CU3.
Simon.
You aren't Outlook, which means the result is not going to be valid.
If the server is at RTM I would start by installing CU3.
Simon.
ASKER
Downloading CU3 now
ASKER
after installing CU3 1 server (exchange) can send recieve emails (only the mailbox users that are hosted on that server can!) and our second server (exchangeaserver) cannot recieve or send emails. All emails to mailboxes on exchangeaserver are on the exchange server. This is the error i get in eventvwr when retrying to deliver emails out of Exchange ToolBox Queue Monitor.
Log Name: Application
Source: MSExchange ADAccess
Date: 4/02/2014 5:08:43 PM
Event ID: 4027
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: Exchange.purtills.local
Description:
Process w3wp.exe (PID=5992). WCF request (Get Servers for purtills.local) to the Microsoft Exchange Active Directory Topology service on server (TopologyClientTcpEndpoint (localhost)) failed. Make sure that the service is running. In addition, make sure that the network ports that are used by Microsoft Exchange Active Directory Topology service are not blocked by a firewall. The WCF call was retried 1 time(s). Error Details
System.ServiceModel.Securi ty.Securit yAccessDen iedExcepti on: Access is denied.
Server stack trace:
at System.ServiceModel.Channe ls.Service Channel.Th rowIfFault Understood (Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channe ls.Service Channel.Ha ndleReply( ProxyOpera tionRuntim e operation, ProxyRpc& rpc)
at System.ServiceModel.Channe ls.Service Channel.Ca ll(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channe ls.Service ChannelPro xy.InvokeS ervice(IMe thodCallMe ssage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channe ls.Service ChannelPro xy.Invoke( IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Pr oxies.Real Proxy.Hand leReturnMe ssage(IMes sage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Pr oxies.Real Proxy.Priv ateInvoke( MessageDat a& msgData, Int32 type)
at Microsoft.Exchange.Data.Di rectory.To pologyDisc overy.ITop ologyClien t.GetServe rsForRole( String partitionFqdn, List`1 currentlyUsedServers, ADServerRole role, Int32 serversRequested)
at Microsoft.Exchange.Data.Di rectory.Se rviceTopol ogyProvide r.<>c__Dis playClass1 0.<Interna lGetServer sForRole>b __f(IPoole dServicePr oxy`1 proxy)
at Microsoft.Exchange.Net.Ser viceProxyP ool`1.TryC allService WithRetry( Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception& exception)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchange ADAccess" />
<EventID Qualifiers="49156">4027</E ventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000 </Keywords >
<TimeCreated SystemTime="2014-02-04T06: 08:43.0000 00000Z" />
<EventRecordID>786407</Eve ntRecordID >
<Channel>Application</Chan nel>
<Computer>Exchange.purtill s.local</C omputer>
<Security />
</System>
<EventData>
<Data>w3wp.exe</Data>
<Data>5992</Data>
<Data>Get Servers for purtills.local</Data>
<Data>TopologyClientTcpEnd point (localhost)</Data>
<Data>1</Data>
<Data>System.ServiceModel. Security.S ecurityAcc essDeniedE xception: Access is denied.
Server stack trace:
at System.ServiceModel.Channe ls.Service Channel.Th rowIfFault Understood (Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channe ls.Service Channel.Ha ndleReply( ProxyOpera tionRuntim e operation, ProxyRpc& rpc)
at System.ServiceModel.Channe ls.Service Channel.Ca ll(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channe ls.Service ChannelPro xy.InvokeS ervice(IMe thodCallMe ssage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channe ls.Service ChannelPro xy.Invoke( IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Pr oxies.Real Proxy.Hand leReturnMe ssage(IMes sage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Pr oxies.Real Proxy.Priv ateInvoke( MessageDat a& msgData, Int32 type)
at Microsoft.Exchange.Data.Di rectory.To pologyDisc overy.ITop ologyClien t.GetServe rsForRole( String partitionFqdn, List`1 currentlyUsedServers, ADServerRole role, Int32 serversRequested)
at Microsoft.Exchange.Data.Di rectory.Se rviceTopol ogyProvide r.<> c__Display Class10.&l t;Internal GetServers ForRole> ;b__f(IPoo ledService Proxy`1 proxy)
at Microsoft.Exchange.Net.Ser viceProxyP ool`1.TryC allService WithRetry( Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception& exception)</Data>
</EventData>
</Event>
Log Name: Application
Source: MSExchange ADAccess
Date: 4/02/2014 5:08:43 PM
Event ID: 4027
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: Exchange.purtills.local
Description:
Process w3wp.exe (PID=5992). WCF request (Get Servers for purtills.local) to the Microsoft Exchange Active Directory Topology service on server (TopologyClientTcpEndpoint
System.ServiceModel.Securi
Server stack trace:
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
Exception rethrown at [0]:
at System.Runtime.Remoting.Pr
at System.Runtime.Remoting.Pr
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Net.Ser
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchange ADAccess" />
<EventID Qualifiers="49156">4027</E
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000
<TimeCreated SystemTime="2014-02-04T06:
<EventRecordID>786407</Eve
<Channel>Application</Chan
<Computer>Exchange.purtill
<Security />
</System>
<EventData>
<Data>w3wp.exe</Data>
<Data>5992</Data>
<Data>Get Servers for purtills.local</Data>
<Data>TopologyClientTcpEnd
<Data>1</Data>
<Data>System.ServiceModel.
Server stack trace:
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
at System.ServiceModel.Channe
Exception rethrown at [0]:
at System.Runtime.Remoting.Pr
at System.Runtime.Remoting.Pr
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Data.Di
at Microsoft.Exchange.Net.Ser
</EventData>
</Event>
An access denied error is unusual.
Is there anything odd about the network or Exchange install? Using a service account for example? Is the network particularly locked down?
My instinct is this is something outside of Exchange. Did the install go through correctly? No errors or steps skipped?
Simon.
Is there anything odd about the network or Exchange install? Using a service account for example? Is the network particularly locked down?
My instinct is this is something outside of Exchange. Did the install go through correctly? No errors or steps skipped?
Simon.
ASKER
Successfully completed all steps
What about my other queries? Exchange usually works straight out of the box, unless the install was bad, or more commonly, there is something odd about the host network configuration.
Simon.
Simon.
ASKER
Network seems fine can ping both servers and ads from each exchange
ASKER
Exchange is running again, reinstalled the CU3 update on offending server and sorted itself, so i assume something went wrong in the installation of CU3
ASKER
still have same issue with autodiscover
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.