我已将 Reporting Services 服务器升级到 2016。但是它仍然指向旧的 SQL Server 数据库 (SQL 2014)。
我可以看到所有的报告。一切正常,除了我看不到我现有的订阅。每当我尝试打开订阅页面时,它都会出错
发生错误。请稍后再试。
我检查了日志文件(ReportServerService__10_12_2021_04_42_59),它给出了以下错误:
library!ReportServer_0-1!f48!10/12/2021-04:44:08:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode.;
schedule!WindowsService_0!f34!10/12/2021-04:45:02:: i INFO: Handling event with data: TimeEntered: 10/12/2021 04:45:02, Type: Event, EventType: TimedSubscription, SubscriptionID: 0d5698c7-bbdd-4948-81ef-eb9fc83ce930.
library!WindowsService_0!f34!10/12/2021-04:45:03:: i INFO: Schedule 80d86f6f-69ac-4587-b4bd-b125cc01178a executed at 10/12/2021 04:45:03.
另一个日志文件
(Microsoft.ReportingServices.Portal.WebHost_10_12_2021_04_43_00) gives this error -
Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!11!10/12/2021-04:44:08:: e ERROR: [wnivykk5]: OData exception occurred: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.ReportingServices.Portal.Repositories.SystemService.PopulateLocalizedExtensionNames(IPrincipal userPrincipal, List`1 subscriptions)
at Microsoft.ReportingServices.Portal.Repositories.CatalogItemRepository.GetSubscriptions(IPrincipal userPrincipal, String itemPath)
at Model.ReportRepository.LoadSubscriptions()
at Model.Report.get_Subscriptions()
at lambda_method(Closure , ReportRepository )
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Web.OData.Query.Expressions.SelectExpandBinder.Bind(Object entity)
at System.Web.OData.Query.SelectExpandQueryOption.ApplyTo(Object entity, ODataQuerySettings settings, IAssembliesResolver assembliesResolver)
at System.Web.OData.Query.ODataQueryOptions.ApplySelectExpand[T](T entity, ODataQuerySettings querySettings)
at System.Web.OData.Query.ODataQueryOptions.ApplyTo(Object entity, ODataQuerySettings querySettings)
at System.Web.OData.EnableQueryAttribute.ExecuteQuery(Object response, HttpRequestMessage request, HttpActionDescriptor actionDescriptor)
at System.Web.OData.EnableQueryAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d_5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d_0.MoveNext().
Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!11!10/12/2021-04:44:08:: i INFO: [wnivykk5]: 10.158.159.179: GET /api/v1.0/CatalogItemByPath%28path%3D%40path%29 - Response 500 - 0:00:38.1523916