我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How to Identify Orphan Report Subscriptions

Issue
Orphaned report subscriptions are generating  "unable to render report" error messages within the EEM system log.
These are being reported from the ION EEM Subscription Monitor service.

Product
ION EEM

Environment
ION EEM 3.95 SP1
ION EEM 4.0, 4.0 R2
ION EEM 5.0

Cause
A report subscription is attempting to run a report that no longer exists.

Resolution
*Warning: Irreparable database damage can occur. This procedure should only be performed by users familiar with SQL Server Management Studio. Databases should be backed up prior to performing this procedure.*

Execute the following query to determine if a configured report subscription is missing the report that it is intended to run.
If the ReportID in RPT_Report Table column contains NULL, then it is an orphaned report subscription.

   USE ION_EEMData  
 
SELECT rs.SubscriptionId AS [SubscriptionID in RPT_Subscriptions Table]  
         ,rs.ReportID AS [ReportID in RPT_Subscriptions Table]  
         ,r.ReportID AS [ReportID in RPT_Report Table]  
         ,r.DisplayName AS [Report Display Name in RPT_Report Table]  
    FROM RPT_Subscriptions rs  
    LEFT JOIN RPT_Report r ON rs.ReportID = r.ReportID  
    ORDER BY r.ReportID 


To remove the orphaned subscription record(s) from the RPT_Subscriptions table, execute the following query,
replacing x with the rs.SubscriptionId of the identified orphaned subscription in the preceding query:

   USE ION_EEMData  
 
DELETE FROM RPT_Subscriptions rs
     WHERE rs.SubscriptionId = x


** see attachment containing the SQL script text

施耐德電機Taiwan

附件
DELETE Model.pdf [49.06 KB]
探索更多
系列:
探索更多
系列:
  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 施耐德電機社群
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings