点此访问Ex.Lab,访问更多资源: [url]http://www.exlab.cn/[/url]
 
此问题已经是不想再谈了,但是一直有朋友在使用Exchange 2007时碰到,这里我就大概介绍下如何Troubleshooting,也让大家了解下Exchange 2007中新引入的一个概念——Autodiscover
在Outlook客户端点击收发邮件时,Outlook发送/接收进度会非常慢,并且最后会有错误提示。很多时候出现的错误提示是返回一个错误代码0×8004010F,并告知操作失败,无法找到某个对象。当然还有其他错误提示,这里我就不举例了,开启Outlook高级日志也可以看到很多。
0×8004010F代表什么?为什么提示无法找到某个对象?这个对象又是什么?很多朋友在遇到这个问题的时候根本无法进行排错,原因是此问题并不会在Exchange 2007的日志中记录,并且Outlook的高级日志并没有打开。所以遇到这个问题比较麻烦。
什么是Autodiscover?
我先说下什么是Autodiscover。Autodiscover自动发现是Exchange 2007中新引入的一个新功能,在以往Exchange版本中没有的。这个功能是作为一个服务来提供,目的是让邮件客户端(Outlook 2007以上版本)使用全新的方式来获得邮件系统信息。这个是Exchange 2007的一个重大变化,也是一个全新的功能,在以往客户端和服务器之间的交互上做了很大的技术突破。
使用Autodiscover,Outlook客户端才能知道Exchange 2007所提供的服务在哪,并且在很多应用中都要用到自动发现。
0×8004010F错误解决方法一
最简单,假设您严格按照部署文档完成了Exchange 2007的部署,并且遇到了此问题,那么请修改默认的存储组的配置,并选中默认的OAB即可。具体可以参考: [url]http://bbs.winos.cn/viewthread.php?tid=16254[/url]
0×8004010F错误解决方法二
尝试使用以下URL测试访问自动发现服务:
[url]https://autodiscover.domain.com/autodiscover/autodiscover.xml[/url]
其中domian.com则是邮件地址的SMTP域,也就是您的AD域。连接如果失败,则需要重新配置自动发现。
正常情况访问此路径后会要求验证,成功之后会出现类似如下显示:
  <?xml version=”1.0″ encoding=”utf-8″ ?>
- <Autodiscover xmlns=” [url]http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006[/url]″>
- <Response xmlns=” [url]http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006[/url]″>
- <Error Time=”17:04:26.4627953″ Id=”4188128006″>
  <ErrorCode>600</ErrorCode>
  <Message>Invalid Request</Message>
  <DebugData />
  </Error>
  </Response>
  </Autodiscover>
如果没有出现以上提示,那么,请检查是否将证书绑定到Exchange 2007的默认网站。如何做我就不多说了,部署文档里面很明确的提到了。
测试自动发现是否正常工作
很简单很简单的操作,照着如下做并得出最后我列出的结果,你就成功了。
按住 Ctrl键,右键单机任务栏中的Outlook图标,你可以看到 测试电子邮件自动配置…,点击它

在弹出的页面输入你的电子邮件和密码,去掉“使用Guessmart”和“保护Guessmart身份验证”选项。之后点击测试。(我涂黑了敏感信息,所以图片很难看)

如果自动发现工作正常,则会出现上图中所示的一些地址, 这就是Autodiscover的重要所在!
其实返回的是一个XML文件而已,大概的格式如下:
<?xml version=”1.0″ encoding=”utf-8″?>
<Autodiscover xmlns=” [url]http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006[/url]″>
  <Response xmlns=” [url]http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a[/url]”>
    <User>
      <DisplayName>
        娑備繆闆?/DisplayName>
        <LegacyDN>/o=ehloex/ou=Guangzhou Group/cn=Recipients/cn=tujx</LegacyDN>
        <DeploymentId>018851b0-515a-4d19-a304-bf11ad913c5d</DeploymentId>
      </User>
    <Account>
      <AccountType>email</AccountType>
      <Action>settings</Action>
      <Protocol>
        <Type>EXCH</Type>
        <Server>ex-mail-01.ehloex.com</Server>
        <ServerDN>/o=ehloex/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=GZ-MAIL-02</ServerDN>
        <ServerVersion>720082AD</ServerVersion>
        <MdbDN>/o=ehloex/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=GZ-MAIL-02/cn=Microsoft Private MDB</MdbDN>
        <ASUrl> [url]https://mail.ehloex.com/EWS/exchange.asmx[/url]</ASUrl>
        <OOFUrl> [url]https://mail.ehloex.com/EWS/exchange.asmx[/url]</OOFUrl>
        <UMUrl> [url]https://mail.ehloex.com/UnifiedMessaging/Service.asmx[/url]</UMUrl>
        <OABUrl>Public Folder</OABUrl>
</Protocol>
      <Protocol>
        <Type>EXPR</Type>
        <Server>mail.ehloex.com</Server>
        <SSL>On</SSL>
        <AuthPackage>Basic</AuthPackage>
        <ASUrl> [url]https://mail.ehloex.com/EWS/exchange.asmx[/url]</ASUrl>
        <OOFUrl> [url]https://mail.ehloex.com/EWS/exchange.asmx[/url]</OOFUrl>
        <UMUrl> [url]https://mail.ehloex.com/UnifiedMessaging/Service.asmx[/url]</UMUrl>
        <OABUrl>Public Folder</OABUrl>
      </Protocol>
      <Protocol>
        <Type>WEB</Type>
        <External>
          <OWAUrl AuthenticationMethod=”Fba”> [url]https://mail.ehloex.com/owa[/url]</OWAUrl>
          <Protocol>
            <Type>EXPR</Type>
            <ASUrl> [url]https://mail.ehloex.com/EWS/exchange.asmx[/url]</ASUrl>
          </Protocol>
        </External>
        <Internal>
          <OWAUrl AuthenticationMethod=”Basic, Fba”> [url]https://mail.ehloex.com/owa[/url]</OWAUrl>
          <Protocol>
            <Type>EXCH</Type>
            <ASUrl> [url]https://mail.ehloex.com/EWS/exchange.asmx[/url]</ASUrl>
          </Protocol>
        </Internal>
      </Protocol>
    </Account>
  </Response>
</Autodiscover>