【发布时间】:2020-08-31 10:16:55
【问题描述】:
我有一个托管在 IIS 中的 ASP.NET 应用程序,它使用 ClientContext 调用 Sharepoint。在生产部署中,对 ExecuteQuery 的调用会导致 ASP.NET 抛出 net::ERR_CONNECTION_RESET。在服务器上,抛出了以下异常:
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryToServerAsync>d__6.MoveNext()
Cannot complete this action. Please try again.
除此之外,没有任何其他错误的其他痕迹。
我尝试设置 TLS1.2 没有成功。
我也尝试在调用ExecuteQuery之前使用延迟,结果仍然失败。
谁能建议这里可能出了什么问题?
注意:它在我的本地机器上完美运行。
【问题讨论】:
标签: asp.net sharepoint sharepoint-online connection-reset clientcontext