测试 Lync Server 2013 和 Exchange 2013 的集成,在 Lync Server 命令行管理程序中运行一条类似于以下命令的命令:
Test-CsExStorageConnectivity -SipUri "sip:kenmyer@litwareinc.com"
存储服务 API 遇到执行命令失败。
执行命令失败。StoreException: code=ErrorUnhandledException, reason=Wrapped callback failed ---> System.InvalidOperationException: 客户端发现响应内容类型为“text/html”,但应为“text/xml”。
请求失败,错误信息为:
--
?????????????????????????????????????????????????????????
--.
在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
在 System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)
在 Microsoft.Rtc.Internal.Storage.Exchange.Ews.ExchangeServiceBinding.EndInvoke(IAsyncResult asyncResult)
在 Microsoft.Rtc.Internal.Storage.Exchange.Ews.ExchangeServiceBinding.EndCreateItem(IAsyncResult asyncResult)
在 Microsoft.Rtc.Internal.Storage.Adaptor.ExStoreAdaptor.OnCreateItemComplete(IAsyncResult result)
在 Microsoft.Rtc.Internal.Storage.StoreAsyncResult`1.CallbackWrapper(IAsyncResult result)
--- End of inner exception stack trace ---
在 Microsoft.Rtc.Internal.Storage.Api.StorageService.EndExecuteCommand(IAsyncResult asyncResult)
原因: 授权失败、错误的输入参数、超时或其他错误。
解决方法:
查看事件详细信息。如果问题仍然存在,请将事件详细信息告知组织的支持团队。