2017-10-04 303 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%'