尝试在报表管理器 URL 中查看 s-s-rS 订阅时出错
Posted
技术标签:
【中文标题】尝试在报表管理器 URL 中查看 s-s-rS 订阅时出错【英文标题】:Error when trying to view s-s-rS Subscriptions in Report manager Url 【发布时间】:2017-10-04 11:10:53 【问题描述】:我们的报表服务器数据库已移至新环境。订阅适用于大多数用户/所有者。但是,我们有一个不工作的问题。使用以下查询进行了更改:
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)并看到新用户现在有订阅,但是当您尝试在报表服务器上查看时,我们收到如下图所示的错误
而日志文件错误是这样的:
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】:我遇到了同样的问题。我去了 ReportServer 数据库 [Subscriptions] 表,并选择了我的报告(使用 OwnerID,您可以在 [Users] 表中查找),并且似乎我的一些报告具有“en”语言环境,而其他报告 - '罗斯'。当只剩下一个语言环境时,问题就消失了。
这是您正在寻找的选择:
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%'
【讨论】:
以上是关于尝试在报表管理器 URL 中查看 s-s-rS 订阅时出错的主要内容,如果未能解决你的问题,请参考以下文章
s-s-rS 2008r2 在报表管理器的主显示页面中截断报表描述