我已迁移到新的报表服务器。当尝试通过URL创建新订阅时,我收到以下错误:
Operation is not valid due to the current state of the object.
我发现某个Windows KB可能会导致此问题(KB2656356和KB2656351)但是我发现在web.config文件中添加密钥也可以解决问题。
<https://social.msdn.microsoft.com/Forums/sqlserver/en-US/cb6ede72-6ed1- 4379-9d3c-847c11b75b32/report-manager-operation-cannot-run-due-to-current-state- of-the-object?forum=sqlreportingservices/>
但是在添加此密钥并弹出服务之后,没有任何变化。我仍然得到错误。有没有人经历过这个?
ui!ReportManager_0-1!5144!03/21/2017-10:23:17:: e ERROR: System.InvalidOperationException: Operation is not valid due to the current state of the object.
at System.Web.HttpRequest.FillInFormCollection()
at System.Web.HttpRequest.get_Form()
at System.Web.HttpRequest.get_HasForm()
at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
library!ReportServer_0-2!5e0!03/21/2017-10:23:18:: i INFO: Call to GetSystemPermissionsAction().
ui!ReportManager_0-1!5144!03/21/2017-10:23:18:: e ERROR: HTTP status code --> 500
-------Details--------
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at System.Web.HttpRequest.FillInFormCollection()
at System.Web.HttpRequest.get_Form()
at System.Web.HttpRequest.get_HasForm()
at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
library!ReportServer_0-2!5e0!03/21/2017-10:23:18:: i INFO: Call to GetSystemPropertiesAction().
ui!ReportManager_0-1!5144!03/21/2017-10:23:18:: e ERROR: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
SSRS版本为11.0.3000.0。它是本机安装。我通过报告服务器URL“businessreport / reports”创建订阅。它似乎与可用参数的数量直接相关。在我的情况下,如果我配对包括报告在内的项目数量,那么我没有问题。显然我可以编辑报告来解决这个问题,但我继承了大量的报告。我宁愿能够尽可能多地通过。希望这有帮助
此外,我已尝试在以下两个目录中编辑web.config文件:
I:\MSRS11.SQLPROD\Reporting Services\ReportManager
和 I:\ MSRS11.SQLPROD \ Reporting Services \ ReportServer
我包括以下内容:这根本没有任何区别。