在EWS Web服务调用中使用自动发现问题 [英] Issue using Autodiscover in EWS web-service calls

查看:83
本文介绍了在EWS Web服务调用中使用自动发现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Hi,


我使用EWS 1.1从在线交换中提取数据。

I am using EWS 1.1 to pull data from exchange online.


我的程序只是在执行自动发现调用时挂起。然后导致堆栈溢出异常,因为线程一直持续到永恒。

My program just hangs while doing an auto-discover call.It then causes a stack overflow exception as the thread just keeps on going till eternity.


下面的callstack

Callstack below



Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException:无法找到自动发现服务。
$
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettin gs [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)

at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetLegacyUserSettings [TSettings](String emailAddress)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserS ettings(String emailAddress,List`1 requestedSettings)

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(String userSmtpAddress,UserSettingName [] userSettingNames)

at Microsoft。 Exchange.WebServices.Data.ExchangeService.GetAutodiscoverUrl(String emailAddress,ExchangeVersion requestedServerVersion,AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)

at Microsoft.Exchange.WebServices.Data.ExchangeService.AutodiscoverUrl(String emailAddress,AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)

Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException: The Autodiscover service couldn't be located.
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetLegacyUserSettings[TSettings](String emailAddress)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings(String emailAddress, List`1 requestedSettings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(String userSmtpAddress, UserSettingName[] userSettingNames)
at Microsoft.Exchange.WebServices.Data.ExchangeService.GetAutodiscoverUrl(String emailAddress, ExchangeVersion requestedServerVersion, AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)
at Microsoft.Exchange.WebServices.Data.ExchangeService.AutodiscoverUrl(String emailAddress, AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)

推荐答案

我建议您更新到最新版本
http://www.microsoft.com/en-au/download/details.aspx?id=42951
这是一个已在以后解决的错误图书馆的版本。

I would suggest you update to the latest version http://www.microsoft.com/en-au/download/details.aspx?id=42951 that was a bug that has been addressed in later version of the library.

干杯

Glen

Cheers
Glen


这篇关于在EWS Web服务调用中使用自动发现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆