升级到 Creator Edition 后出现异常

Exception after upgrade to Creator Edition

以下代码行到昨天为止运行良好。

ReportViewer1.ServerReport.GetParameters().Count

我的电脑连夜更新到 Windows 10 的 'Creator Edition',现在我得到如下所示的异常...

'ReportViewer1.ServerReport.GetParameters()' threw an exception of type 'System.Net.WebException'
    Data: {System.Collections.ListDictionaryInternal}
    HResult: -2146233079
    HelpLink: null
    InnerException: {"No connection could be made because the target machine actively refused it 127.0.0.1:80"}
    Message: "Unable to connect to the remote server"
    Response: null
    Source: "Microsoft.ReportViewer.WebForms"
    StackTrace: "   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods()\r\n   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname)\r\n   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.SetConnectionSSLForMethod(String methodname)\r\n   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 sql16Method, ProxyMethod`1 katmaiMethod, ProxyMethod`1 yukonMethod)\r\n   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)\r\n   at Microsoft.Reporting.WebForms.SoapReportExecutionService.LoadReport(String report, String historyId)\r\n   at Microsoft.Reporting.WebForms.ServerReport.EnsureExecutionSession()
\r\n   at Microsoft.Reporting.WebForms.ServerReport.GetParameters()"
    Status: ConnectFailure
    TargetSite: {System.String[] GetSecureMethods()}

还有其他人看到过这种情况吗?任何想法为什么?谢谢

重新启动几次后,开始工作了。

可能是报告系统在更新后没有自行重启...