积极答复者
Lync 2013与Exchange 2013, 命令测试报错。

问题
-
PS C:\Users\Lyncadmin> Test-CsExStorageConnectivity -SipUri "sip:lyncxxx@xxx.com.cn"
Test-CsExStorageConnectivity : ExCreateItem Exchange 操作失败,代码: 574,原因:
?????????????????????????????????????????????????????????
StoreContext{traceId=[137301799], activityId=[f3724d73-495d-4231-8cee-b28886a2
bc65]}StoreException: code=ErrorUnhandledException, reason=Wrapped callback fai
led ---> System.InvalidOperationException: 客户端发现响应内容类型为“text/html
”,但应为“text/xml”。
请求失败,错误信息为:
--
--.
在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapCli
entMessage message, WebResponse response, Stream responseStream, Boolean asyncC
all)
在 System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResu
lt asyncResult)
在 Microsoft.Rtc.Internal.Storage.Exchange.Ews.ExchangeServiceBinding.EndInv
oke(IAsyncResult asyncResult)
在 Microsoft.Rtc.Internal.Storage.Exchange.Ews.ExchangeServiceBinding.EndCre
ateItem(IAsyncResult asyncResult)
在 Microsoft.Rtc.Internal.Storage.Adaptor.ExStoreAdaptor.OnCreateItemComplet
e(IAsyncResult result)
在 Microsoft.Rtc.Internal.Storage.StoreAsyncResult`1.CallbackWrapper(IAsyncR
esult result)
--- End of inner exception stack trace ---
在 Microsoft.Rtc.Internal.Storage.Api.StorageService.EndExecuteCommand(IAsyn
cResult asyncResult)
,异常: System.ServiceModel.FaultException: StoreContext{traceId=[137301799], a
ctivityId=[f3724d73-495d-4231-8cee-b28886a2bc65]}StoreException: code=ErrorUnha
ndledException, reason=Wrapped callback failed ---> System.InvalidOperationExce
ption: 客户端发现响应内容类型为“text/html”,但应为“text/xml”。
请求失败,错误信息为:
答案
-
您好!
1. 首先我推荐你参考以下文章确定是否你的环境满足先决条件:http://technet.microsoft.com/zh-cn/library/jj721919.aspx
2. 我建议你检查应用程序日志中有无错误信息。
3.以下类似错误的thread供你参考。
4.为了更好地帮你解决该问题,我建议你到Lync论坛问问。(注意:该论坛只有英文论坛,为了更多的人参与进来,请用英文表述你的问题)
http://social.technet.microsoft.com/Forums/lync/en-US/home?forum=lyncprofile
微软一站式示例脚本库: http://blogs.technet.com/b/onescript
- 已标记为答案 cara chen 2014年6月4日 6:18
全部回复
-
exchange 2013 sp1 ,Mailbox 和 Client Access 角色各一台。
lync 2013 企业版部署的,后端库为sql 2012 sp1。
集成配置操作过程:
-------------exchange---------------
<?xml version="1.0" encoding="UTF-8"?>
cd 'D:\Exchange Server\V15\Scripts'
.\Configure-EnterprisePartnerApplication.ps1 -AuthMetaDataUrl 'https://sz-lync-fe.xxx.com.cn/metadata/json/1' -ApplicationType Lync
Get-ClientAccessServer|fl
Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri "https://autodiscover.xxx.com.cn/autodiscover/autodiscover.xml"
单独访问 https://autodiscover.xxx.com.cn/autodiscover/autodiscover.xml ,可反返回如下信息:
-<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">-<Response>-<Error Id="3881921647" Time="11:01:25.0456572"><ErrorCode>600</ErrorCode><Message>请求无效</Message><DebugData/></Error></Response></Autodiscover>
-----------lync---------------
Set-CsOAuthConfiguration -Identity global -ExchangeAutodiscoverUrl "https://autodiscover.xxxcom.cn/autodiscover/autodiscover.svc"
New-CsPartnerApplication -Identity Exchange -ApplicationTrustLevel Full -MetadataUrl "https://autodiscover.xxx.com.cn/autodiscover/metadata/json/1"
Test-CsExStorageConnectivity -SipUri "sip:lyncadmin@xxx.com.cn"报错如上:
客户端发现响应内容类型为“text/html”,但应为“text/xml”。.....
-
您好!
1. 首先我推荐你参考以下文章确定是否你的环境满足先决条件:http://technet.microsoft.com/zh-cn/library/jj721919.aspx
2. 我建议你检查应用程序日志中有无错误信息。
3.以下类似错误的thread供你参考。
4.为了更好地帮你解决该问题,我建议你到Lync论坛问问。(注意:该论坛只有英文论坛,为了更多的人参与进来,请用英文表述你的问题)
http://social.technet.microsoft.com/Forums/lync/en-US/home?forum=lyncprofile
微软一站式示例脚本库: http://blogs.technet.com/b/onescript
- 已标记为答案 cara chen 2014年6月4日 6:18