SSRS 从 2008R2 迁移到 2017 错误 RSPortal
SSRS Migration from 2008R2 to 2017 Error RSPortal
我正在将我们的报告服务从 2008R2 版迁移到 2017 版并恢复数据库,一切似乎都正常,除非我无法打开订阅页面的某些报告。
对于这些报告,每次我从 Web 视图进入报告订阅页面时都会收到此错误
"Something went wrong. Please try again later. "
如果我从 RSPortal 文件进入日志,我会看到这个错误:
ERROR: OData exception occurred: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.FormatException: The string was not recognized as a valid DateTime. There is an unknown word starting at index 18.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at Microsoft.ReportingServices.Portal.Services.ODataExtensions.ParameterValueExtensions.FormatAsISO8601Date(String date, String culture)
at Microsoft.ReportingServices.Portal.Services.ODataExtensions.ParameterValueExtensions.ToWebApiReportParameterValue(ParameterValue parameterValue, ReportParameterType reportParameterType, String culture)
at Microsoft.ReportingServices.Portal.Services.ODataExtensions.SubscriptionExtensions.ToReportPameterList(SubscriptionImpl librarySubscription, Dictionary`2 parameterTypes, String culture)
at Microsoft.ReportingServices.Portal.Services.ODataExtensions.SubscriptionExtensions.ToWebApiModel(SubscriptionImpl librarySubscription, Dictionary`2 parameterTypes, SubscriptionProperties properties)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
有没有人对如何解决它有建议?我认为与 CultureInfo 值有关,但我不确定。
谢谢
可能对以后的人有帮助所以我会说明我为解决这个问题所采取的步骤:
此问题是由于少数订阅的一个参数的数据类型不匹配所致。
事实上,错误处理似乎在微软时代发生了变化,在我发现有问题的订阅后,我试图在旧环境中打开它们,但我收到了这个错误:
“The Value provided for the report parameter “YourDate’ is not valid for it is type (rsReportParameterTypeMismatch)”
我所做的是在新的 Reporting Server 环境中删除这些订阅并出现错误,最后 Web 视图工作正常
我正在将我们的报告服务从 2008R2 版迁移到 2017 版并恢复数据库,一切似乎都正常,除非我无法打开订阅页面的某些报告。
对于这些报告,每次我从 Web 视图进入报告订阅页面时都会收到此错误 "Something went wrong. Please try again later. "
如果我从 RSPortal 文件进入日志,我会看到这个错误:
ERROR: OData exception occurred: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.FormatException: The string was not recognized as a valid DateTime. There is an unknown word starting at index 18.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at Microsoft.ReportingServices.Portal.Services.ODataExtensions.ParameterValueExtensions.FormatAsISO8601Date(String date, String culture)
at Microsoft.ReportingServices.Portal.Services.ODataExtensions.ParameterValueExtensions.ToWebApiReportParameterValue(ParameterValue parameterValue, ReportParameterType reportParameterType, String culture)
at Microsoft.ReportingServices.Portal.Services.ODataExtensions.SubscriptionExtensions.ToReportPameterList(SubscriptionImpl librarySubscription, Dictionary`2 parameterTypes, String culture)
at Microsoft.ReportingServices.Portal.Services.ODataExtensions.SubscriptionExtensions.ToWebApiModel(SubscriptionImpl librarySubscription, Dictionary`2 parameterTypes, SubscriptionProperties properties)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
有没有人对如何解决它有建议?我认为与 CultureInfo 值有关,但我不确定。
谢谢
可能对以后的人有帮助所以我会说明我为解决这个问题所采取的步骤:
此问题是由于少数订阅的一个参数的数据类型不匹配所致。
事实上,错误处理似乎在微软时代发生了变化,在我发现有问题的订阅后,我试图在旧环境中打开它们,但我收到了这个错误:
“The Value provided for the report parameter “YourDate’ is not valid for it is type (rsReportParameterTypeMismatch)”
我所做的是在新的 Reporting Server 环境中删除这些订阅并出现错误,最后 Web 视图工作正常