1

我的雇主使用的托管公司在周末升级到 Exchange 2010。这导致我们使用的访问邮箱的服务中断。托管公司说我们的邮箱仍然是 2007。现在尝试使用 Exchange 2007 Web 服务访问它们时,我收到以下错误:

客户端访问服务器版本与正在访问的资源的邮箱服务器版本不匹配。要确定用于访问资源的正确 URL,请使用带有资源地址的自动发现。

我对这个错误做了一些谷歌搜索,并找到了一些关于使用 AutoDiscover 来解决这个问题的帖子。我尝试了我在此处找到的 Microsoft 示例,但我不清楚控制台的输出告诉我什么或我如何使用它。

看起来它尝试访问一些 URL,然后报告它发现的内容。我有例外、“找不到电子邮件地址”或“站点不匹配”

编辑:我得到了示例应用程序来返回一些信息。现在我的问题是,我如何将此输出转换为访问我需要的邮箱?

这是返回的属性列表,省略了它们的实际值。

=? Trying 'Email@myDomain.com' at 'https://myDomain.net/Autodiscover/Autodiscover.xml'
User/DisplayName=
User/LegacyDN=
User/DeploymentId=
Account/AccountType=
Account/Action=
Account/Protocol/Type=
Account/Protocol/ASUrl=
Account/Protocol/DirectoryPort=
Account/Protocol/MdbDN=
Account/Protocol/OABUrl=
Account/Protocol/OOFUrl=
Account/Protocol/Port=
Account/Protocol/ReferralPort=
Account/Protocol/Server=
Account/Protocol/ServerDN=
Account/Protocol/ServerVersion=
Account/Protocol/UMUrl=
Account/Protocol/PublicFolderServer=
Account/Protocol/AD=
Account/Protocol/EwsUrl=
Account/Protocol/Type=
Account/Protocol/AuthPackage=
Account/Protocol/CertPincipalName=
Account/Protocol/DirectoryPort=
Account/Protocol/OABUrl=
Account/Protocol/Port=
Account/Protocol/ReferralPort=
Account/Protocol/Server=
Account/Protocol/SSL=
Account/Protocol/Type=
Account/Protocol/DirectoryPort=
Account/Protocol/Port=
Account/Protocol/ReferralPort=
Account/Protocol/External/OWAUrl[@AuthenticationMethod="Fba"]=
Account/Protocol/External/OWAUrl[@AuthenticationMethod="Fba"]=
Account/Protocol/Internal/OWAUrl[@AuthenticationMethod="Basic, Fba"]=
Account/Protocol/Internal/OWAUrl[@AuthenticationMethod="Basic, Fba"]=
Account/Protocol/Internal/OWAUrl[@AuthenticationMethod="Basic, Fba"]=
Account/Protocol/Internal/Protocol/Type=
Account/Protocol/Internal/Protocol/ASUrl=

有人可以指出我解决这个问题的正确方向吗?

此外,我无权对 Exchange Server 本身进行任何更改。

4

2 回答 2

1

我通过更多的谷歌搜索找到了答案。从 "Account/Protocol/EwsUrl=" 属性返回的 URL 给了我想要指向我的 web 服务的值。

于 2012-04-12T20:36:34.023 回答
0

我有同样的错误:

客户端访问服务器版本与正在访问的资源的邮箱服务器版本不匹配

..但 EwsUrl 是正确的

服务器平台已经升级到2013,但是目标邮箱还是2007模式。解决方法是将邮箱迁移到 2013 年,然后它又开始工作了。所以这是一个环境而不是代码修复。

于 2014-04-11T04:49:07.447 回答