尝试在报表管理器URL中查看SSRS订阅时出错

时间:2017-10-04 11:10:53

标签: reporting-services report ssrs-2008 ssrs-2012

我们的报表服务器数据库已移至新环境。订阅适用于大多数用户/所有者。但是,我们遇到一个无效的问题。使用以下查询进行了更改:

      DECLARE @OldUserID uniqueidentifier
      DECLARE @NewUserID uniqueidentifier
      SELECT @OldUserID = UserID FROM dbo.Users WHERE UserName = 'DOMAINA\OldUser'
      SELECT @NewUserID = UserID FROM dbo.Users WHERE UserName = 'DOMAINA\NewUser'
      UPDATE dbo.Subscriptions SET OwnerID = @NewUserID WHERE OwnerID = @OldUserID

您可以查询(SSMS)并查看新用户现在有订阅但是当您尝试在报表服务器上查看时,我们会收到错误,如下图所示

enter image description here

日志文件错误如下:

library!ReportServer_0-1!2a1c!10/05/2017-11:53:22:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.NotEnabledException: , Microsoft.ReportingServices.Diagnostics.Utilities.NotEnabledException: The requested functionality is not currently enabled.;
extensionfactory!ReportServer_0-1!2a1c!10/05/2017-11:53:22:: i INFO: Skipped instantiating Report Server PowerBI report server extension. Extension was not enabled.
library!ReportServer_0-1!2908!10/05/2017-11:53:29:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.NotEnabledException: , Microsoft.ReportingServices.Diagnostics.Utilities.NotEnabledException: The requested functionality is not currently enabled.;
extensionfactory!ReportServer_0-1!2908!10/05/2017-11:53:29:: i INFO: Skipped instantiating Report Server PowerBI report server extension. Extension was not enabled.
library!ReportServer_0-1!2fa4!10/05/2017-11:53:29:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.NotEnabledException: , Microsoft.ReportingServices.Diagnostics.Utilities.NotEnabledException: The requested functionality is not currently enabled.;

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题。我去了ReportServer数据库[Subscriptions]表,&我选择的报告(使用OwnerID,您可以在[Users]表中查找),&似乎我的一些报告有'en'语言环境,而其他报告''rus'。当只剩下一个语言环境时,问题就消失了。

以下是您正在寻找的选择:

SELECT [SubscriptionID]
    ,[OwnerID]
    ,[Report_OID]
    ,[Locale]
    ,[InactiveFlags]
    ,[ExtensionSettings]
    ,[ModifiedByID]
    ,[ModifiedDate]
    ,[Description]
    ,[LastStatus]
    ,[EventType]
    ,[MatchData]
    ,[LastRunTime]
    ,[Parameters]
    ,[DataSettings]
    ,[DeliveryExtension]
    ,[Version]
    ,[ReportZone]
FROM [ReportServer].[dbo].[Subscriptions] s
inner join [ReportServer].[dbo].[Users] u
on s.ownerid = u.[UserID]
where u.username like '%your_name%'

SELECT [SubscriptionID] ,[OwnerID] ,[Report_OID] ,[Locale] ,[InactiveFlags] ,[ExtensionSettings] ,[ModifiedByID] ,[ModifiedDate] ,[Description] ,[LastStatus] ,[EventType] ,[MatchData] ,[LastRunTime] ,[Parameters] ,[DataSettings] ,[DeliveryExtension] ,[Version] ,[ReportZone] FROM [ReportServer].[dbo].[Subscriptions] s inner join [ReportServer].[dbo].[Users] u on s.ownerid = u.[UserID] where u.username like '%your_name%'