2017-10-04 120 views
0

我们的报告服务器数据库已移至新环境。订阅对大多数用户/所有者都适用。但是,我们有一个不工作的问题。尝试在报告管理器URL中查看SSRS订阅时发生错误

 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.;

我该如何解决这个问题?

+0

最有可能的一些基础表没有得到新的用户更新。你可以重新创建订阅吗? –

回答

0

我有同样的问题。我去了ReportServer数据库[订阅]表,&选择的报告是我的(使用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%' 

相关问题