【问题标题】:SSRS Migration from 2008R2 to 2017 Error RSPortalSSRS 从 2008R2 迁移到 2017 错误 RSPortal
【发布时间】:2020-04-16 17:31:40
【问题描述】:

我正在将我们的报告服务从 2008R2 版本迁移到 2017 版本以恢复数据库,并且似乎一切正常,除非对于某些我无法打开订阅页面的报告。

对于那些报告,每次我从网络视图进入报告订阅页面时都会收到此错误 “出了点问题,请稍后再试。”

如果我从 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 值有关,但我不确定。

谢谢

【问题讨论】:

    标签: reporting-services ssrs-2008-r2 ssrs-2016 ssrs-2017


    【解决方案1】:

    将来可能会对某人有所帮助,因此我将说明我为解决此问题所采取的步骤:
    此问题是由于少数订阅的一个参数上的数据类型不匹配造成的。 似乎错误处理在微软的时间里发生了变化,事实上,在我发现有问题的订阅后,我尝试在旧环境中打开它们,我得到了这个错误:

    “The Value provided for the report parameter “YourDate’ is not valid for it is type (rsReportParameterTypeMismatch)”
    

    我所做的是在新的 Reporting Server 环境中删除这些订阅并出现错误,最后 Web 视图工作正常

    【讨论】:

      猜你喜欢
      • 2020-09-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多