0
我已经在我的exe文件的一个添加到SSRS Web服务的引用 - http://servername/ReportService2010.asmxReportService2010.asmx ListChildren()超时异常
当呼叫到ListChildren()
制作与Recursive = false
为
var reportService = new ReportingService2010
{
Credentials = CredentialCache.DefaultCredentials,
Url = "http://servername/ReportService2010.asmx"
};
...
var children = reportService.ListChildren(parentFolderPath, false);
继抛出异常 -
System.Net.WebException: The operation has timed out
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at DeploySSRSreports.ReportService2010.ReportingService2010.ListChildren(String ItemPath, Boolean Recursive)
可以请指导什么可能是可能的原因这个错误?
供参考, reportService.Timeout的默认值是100000毫秒,这对我来说很合理。
此外,上述代码在DEV环境中运行正常,但在QA中失败。
谢谢!