切换到宽版
  • 17274阅读
  • 6回复

[分享]Autodiscover问题 [复制链接]

上一主题 下一主题
 
只看楼主 倒序阅读 0楼  发表于: 2012-07-24
尊敬的版主及各位高手你们好, 小弟有个问题想请教

最近搭建了一个小的EXCHANGE 2010 SP1, 现在内外收发邮件都没有问题, 但是客户端OUTLOOK不能下载通讯簿,报错信息:

13:53:11 SynchronizerVersion 12.0.6211
13:53:11 SynchronizingMailbox 'exchangetest1'
13:53:11 Done
13:53:16Microsoft Exchange offline address book
13:53:16                                 Not downloading Offline address bookfiles.  A server (URL) could not belocated.
13:53:16                0X8004010F

在EXCHANGE上使用 test-outlookwebservices -identity exchangetest1@abc.com时报错为:
[PS] C:\Windows\system32>Test-OutlookWebServices -identity exchangetest1@abc.com


RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1019
Type       : Information
Message    : 找到有效的自动发现服务连接点。此对象上的自动发现 URL 是 https://exchange.abc.com/Autodiscover/Autodiscover.
             xml。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1013
Type       : Error
Message    : 联系 https://exchange.abc.com/Autodiscover/Autodiscover.xml 时,收到错误 远程服务器返回错误: (500) 内部服务
             器错误。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1023
Type       : Error
Message    : 无法联系自动发现服务。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1013
Type       : Error
Message    : 联系 https://exchange.abc.com/EWS/Exchange.asmx 时,收到错误 客户端发现响应内容类型为“”,但应为“text/xml
             ”。
             请求失败,响应为空。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1025
Type       : Error
Message    : [EXCH] 与位于 https://exchange.abc.com/EWS/Exchange.asmx 处的 AS 服务联系时出错。所用时间是 15 毫秒。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1026
Type       : Success
Message    : [EXCH] 已成功联系 https://exchange.abc.com/EWS/Exchange.asmx 处的 UM 服务。已用时间为 31 毫秒。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1013
Type       : Error
Message    : 联系 https://abc.com/ews/exchange.asmx 时,收到错误 客户端发现响应内容类型为“”,但应为“text/xml
             ”。
             请求失败,响应为空。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1025
Type       : Error
Message    : [EXPR] 与位于 https://abc.com/ews/exchange.asmx 处的 AS 服务联系时出错。所用时间是 46 毫秒。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1026
Type       : Success
Message    : [EXPR] 已成功联系 https://abc.com/ews/exchange.asmx 处的 UM 服务。已用时间为 203 毫秒。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1113
Type       : Error
Message    : 联系 https://exchange.abc.com.com/ews/exchange.asmx 时,收到错误 客户端发现响应内容类型为“”,但应为“text/xml
             ”。
             请求失败,响应为空。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1125
Type       : Error
Message    : [Server] 与位于 https://exchange.abc.com/ews/exchange.asmx 处的 AS 服务联系时出错。所用时间是 15 毫秒。

RunspaceId : 30dcc513-ee22-4b92-9b8c-010e368588fe
Id         : 1126
Type       : Success
Message    : [Server] 已成功联系 https://exchange.abc.com/ews/exchange.asmx 处的 UM 服务。已用时间为 31 毫秒。





分享到
只看该作者 1楼  发表于: 2012-07-24
使用OUTLOOK AUTO TEST测试的结果为:




使用testexchangeconnectivity.com这个网站也告诉我在第一个网址处是500错误....
目前公网autodiscover还没有做,  但是这个HTTP 500的错误是无论如何不正确的吧  那么多测试都没有通过


在IE上直接访问https://abc.com/autodiscover/autodiscover.xml返回是

  <?xmlversion="1.0" encoding="utf-8" ?>
- <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
- <Response>


- <Error Time="11:55:10.0181097"Id="3007185755">
  <ErrorCode>600</ErrorCode>
  <Message>请求无效</Message>
  <DebugData />  </Error>
  </Response>
  </Autodiscover>
肯定是哪个地方配错了  求指教!




只看该作者 2楼  发表于: 2012-07-25
回 1楼(chonkielio) 的帖子
chonkielio:使用OUTLOOK AUTO TEST测试的结果为:
[图片]
....... (2012-07-24 15:32) 

您好,您在CAS服务器上面访问这个autodiscover的xml地址(http://localhost/autodiscover/autodiscover.xm.)是什么反应.
Exchange中文站10周年献礼。Exchange2016中文视频教程热销中:edu.exchangecn.com/course/12
只看该作者 3楼  发表于: 2012-07-25
该问题已经部分解决......

后来在服务器上发现一个错误  原来AUTODISCOVER服务根本启动不了:

WebHost 无法处理请求。
发件人信息: System.ServiceModel.ServiceHostingEnvironment+HostingManager/31201899
异常: System.ServiceModel.ServiceActivationException: 由于编译过程中出现异常,无法激活服务“/Autodiscover/autodiscover.xml”。异常消息为: 此集合已经包含方案 http 的地址。此集合中每个方案中最多只能包含一个地址。
参数名: item。 ---> System.ArgumentException: 此集合已经包含方案 http 的地址。此集合中每个方案中最多只能包含一个地址。
参数名: item
   在 System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item)
   在 System.Collections.Generic.SynchronizedCollection`1.Add(T item)
   在 System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses)
   在 System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
   在 System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses)
   在 System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
   在 System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
   在 System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
   在 System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
   --- 内部异常堆栈跟踪的结尾 ---
   在 System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
   在 System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
进程名称: w3wp
进程 ID: 6728


检查发现IIS上绑定了一个域名   我就把这个绑定删除了  然后AUTODISCOVER就启动了

但是现在的问题是好像证书或者认证有问题     没加入域的电脑使用OUTLOOK自动发现时会报证书错.  并且不断提示密码   但是手动配置指定msstd就可以的  下载通讯簿不再报错了担是卡在那里一动不动,  但发现OUTLOOK的通讯簿里所有人是有的...
只看该作者 4楼  发表于: 2012-07-25
现在使用AUTO TEST不再报HTTP CODE 500错误

是其它错误  还没来得及看是什么意思   不断要求我输入密码  最后一个也没成功

只看该作者 5楼  发表于: 2012-07-25
正在测试 RPC/HTTP 连接。
     RPC/HTTP 测试失败。
    
    测试步骤
    
    ExRCA 正在尝试测试 exchangetest1@lentone.com.cn 的自动发现。
     测试自动发现失败。
    
    测试步骤
    
    正在尝试每种联系自动发现服务的方法。
     以任何方式都未能与自动发现服务成功取得联系。
    
    测试步骤
    
    正在尝试测试可能的自动发现 URL https://lentone.com.cn/AutoDiscover/AutoDiscover.xml
     测试此潜在自动发现 URL 失败。
    
    测试步骤
    
    Attempting to resolve the host name lentone.com.cn in DNS.
     The host name resolved successfully.
    
    其他详细信息
    Testing TCP port 443 on host lentone.com.cn to ensure it's listening and open.
     The port was opened successfully.
    Testing the SSL certificate to make sure it's valid.
     The SSL certificate failed one or more certificate validation checks.
    
    测试步骤
    
    ExRCA is attempting to obtain the SSL certificate from remote server lentone.com.cn on port 443.
     ExRCA successfully obtained the remote SSL certificate.
    
    其他详细信息
    Validating the certificate name.
     The certificate name was validated successfully.
    
    其他详细信息
    Certificate trust is being validated.
     Certificate trust validation failed.
    
    测试步骤
    
    ExRCA is attempting to build certificate chains for certificate CN=lentone.com.cn, OU=LT, O=LT, L=上海, S=上海, C=CN.
     A certificate chain couldn't be constructed for the certificate.
    
    其他详细信息
     The certificate chain couldn't be built. You may be missing required intermediate certificates.
    正在尝试测试可能的自动发现 URL https://autodiscover.lentone.com.cn/AutoDiscover/AutoDiscover.xml
     测试此潜在自动发现 URL 失败。
    
    测试步骤
    
    Attempting to resolve the host name autodiscover.lentone.com.cn in DNS.
     The host name resolved successfully.
    
    其他详细信息
    Testing TCP port 443 on host autodiscover.lentone.com.cn to ensure it's listening and open.
     The port was opened successfully.
    Testing the SSL certificate to make sure it's valid.
     The SSL certificate failed one or more certificate validation checks.
    
    测试步骤
    
    ExRCA is attempting to obtain the SSL certificate from remote server autodiscover.lentone.com.cn on port 443.
     ExRCA successfully obtained the remote SSL certificate.
    
    其他详细信息
    Validating the certificate name.
     The certificate name was validated successfully.
    
    其他详细信息
    Certificate trust is being validated.
     Certificate trust validation failed.
    
    测试步骤
    
    ExRCA is attempting to build certificate chains for certificate CN=lentone.com.cn, OU=LT, O=LT, L=上海, S=上海, C=CN.
     A certificate chain couldn't be constructed for the certificate.
    
    其他详细信息
     The certificate chain couldn't be built. You may be missing required intermediate certificates.
    正在尝试使用 HTTP 重定向方法联系自动发现服务。
     尝试使用 HTTP 重定向方法与自动发现取得联系失败。
    
    测试步骤
    正在尝试使用 DNS SRV 重定向方法联系自动发现服务。
     ExRCA 未能使用 DNS SRV 重定向方法联系自动发现服务。
    
    测试步骤

只看该作者 6楼  发表于: 2012-07-31
回 4楼(chonkielio) 的帖子
我们先只看内网用户的情况,等内网用户能够下载oab之后再去看外部Outlook Anywhere用户。

首先要检查你的证书是怎么配的?执行下列命令并将结果贴出来看看:

Get-ExchangeCertificate |fl

其次,在内部客户端上IE访问上面的第一个autodiscover记录,什么结果?


快速回复
限60 字节
 
上一个 下一个