Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

EWS managed api autodiscover error

$
0
0

Can anyone tell me what caused this error?

Thanks in advance

Microsoft.Exchange.WebServices.Data.ServiceXmlDeserializationException: Expected XML node type was XmlDeclaration, but actual type is Element.
   at Microsoft.Exchange.WebServices.Data.EwsXmlReader.Read(XmlNodeType nodeType)
   at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetConfigurationSettingsAtUrl[TSettings](String emailAddress, String url)
   at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetConfigurationSettings[TSettings](String emailAddress, Int32& currentHop)
   at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetConfigurationSettings[TSettings](String emailAddress)
   at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetLegacyAutodiscoverEwsUrl(String emailAddress)
   at Microsoft.Exchange.WebServices.Data.ExchangeService.AutodiscoverUrl(String emailAddress, AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>