【问题标题】:Exchange 2010 EWS cannot access 2007 MailBox - AutoDiscover?Exchange 2010 EWS 无法访问 2007 邮箱 - 自动发现?
【发布时间】:2012-04-23 02:32:22
【问题描述】:

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

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

我对这个错误做了一些谷歌搜索,并找到了一些关于使用 AutoDiscover 来解决这个问题的帖子。我尝试了找到 here 的 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 本身进行任何更改。

【问题讨论】:

    标签: exchange-server


    【解决方案1】:

    我有同样的错误:

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

    ..但是 EwsUrl 是正确的

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

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2016-10-17
        • 1970-01-01
        • 1970-01-01
        • 2012-08-22
        • 2013-02-10
        • 2012-01-11
        • 2013-05-18
        • 2011-01-01
        相关资源
        最近更新 更多