Hello all I am getting error in my Autodiscover/autodiscover.xml service in Exchange 2010. I am havent been able to find much about the error I am getting so i was hoping someone could point me in the right direction.
A few days ago my SSL certificate expired. After I renewed it I found that the Autodiscover service would not start. In the event viewer I get the following error
WebHost failed to process a request.Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/32001227
Exception: System.ServiceModel.ServiceActivationException: The service '/Autodiscover/autodiscover.xml' cannot be activated due to an exception during compilation. The exception message is: Method not found: 'System.String System.ServiceModel.Activation.Iis7Helper.ExtendedProtectionDotlessSpnNotEnabledThrowHelper(System.Object)'.. ---> System.MissingMethodException: Method not found: 'System.String System.ServiceModel.Activation.Iis7Helper.ExtendedProtectionDotlessSpnNotEnabledThrowHelper(System.Object)'.
at System.ServiceModel.WasHosting.MetabaseSettingsIis7V2.WebConfigurationManagerWrapper.BuildExtendedProtectionPolicy(ExtendedProtectionTokenChecking tokenChecking, ExtendedProtectionFlags flags, List`1 spnList)
at System.ServiceModel.WasHosting.MetabaseSettingsIis7V2.WebConfigurationManagerWrapper.GetExtendedProtectionPolicy(ConfigurationElement element)
at System.ServiceModel.WasHosting.MetabaseSettingsIis7V2.ProcessWindowsAuthentication(String siteName, String virtualPath, HostedServiceTransportSettings& transportSettings)
at System.ServiceModel.WasHosting.MetabaseSettingsIis7V2.CreateTransportSettings(String relativeVirtualPath)
at System.ServiceModel.Activation.MetabaseSettingsIis.GetTransportSettings(String virtualPath)
at System.ServiceModel.Activation.MetabaseSettingsIis.GetAuthenticationSchemes(String virtualPath)
at System.ServiceModel.Channels.HttpChannelListener.ApplyHostedContext(VirtualPathExtension virtualPathExtension, Boolean isMetadataListener)
at System.ServiceModel.Channels.HttpsChannelListener.ApplyHostedContext(VirtualPathExtension virtualPathExtension, Boolean isMetadataListener)
at System.ServiceModel.Channels.HttpsTransportBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.BindingContext.BuildInnerChannelListener[TChannel]()
at System.ServiceModel.Channels.BindingElement.BuildChannelListener[TChannel](BindingContext context)
at Microsoft.Exchange.Autodiscover.WCF.LegacyMessageEncoderBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.BindingContext.BuildInnerChannelListener[TChannel]()
at System.ServiceModel.Channels.Binding.BuildChannelListener[TChannel](Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)
at System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottle throttle, IChannelListener& result, Boolean supportContextSession)
at System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener& result)
at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
at System.ServiceModel.ServiceHostBase.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
Process Name: w3wp
Process ID: 3176
----------------------------------------------------------------------------------------------------------------------------
Output of Test-OutlookWeb
RunspaceId : 6978dba7-d1bb-4876-9026-013f43ef1c80
Id : 1019
Type : Information
Message : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://e
change.AvailDomain.local/Autodiscover/Autodiscover.xml.
RunspaceId : 6978dba7-d1bb-4876-9026-013f43ef1c80
Id : 1013
Type : Error
Message : When contacting https://exchange.AvailDomain.local/Autodiscover/Autodiscover.xml received the error The r
mote server returned an error: (500) Internal Server Error.
RunspaceId : 6978dba7-d1bb-4876-9026-013f43ef1c80
Id : 1023
Type : Error
Message : The Autodiscover service couldn't be contacted.
RunspaceId : 6978dba7-d1bb-4876-9026-013f43ef1c80
Id : 1013
Type : Error
Message : When contacting https://exchange.availdomain.local/EWS/Exchange.asmx received the error Client found resp
nse content type of '', but expected 'text/xml'.
The request failed with an empty response.
RunspaceId : 6978dba7-d1bb-4876-9026-013f43ef1c80
Id : 1025
Type : Error
Message : [EXCH] Error contacting the AS service at https://exchange.availdomain.local/EWS/Exchange.asmx. Elapsed t
me was 214 milliseconds.
RunspaceId : 6978dba7-d1bb-4876-9026-013f43ef1c80
Id : 1026
Type : Success
Message : [EXCH] Successfully contacted the UM service at https://exchange.availdomain.local/EWS/Exchange.asmx. The
elapsed time was 124 milliseconds.
I have tried resetting the virtual directory , and removing and re-adding the directory via powershell any direction you could give me would be greatly appreciated.
Thanks,
Matt