我們的品牌

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

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

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
PME 2020 - A report subscription with Active Directory Window Users as Recipients will fail when delivering the report

Issue
A report subscription with Active Directory Window Users as Recipients will fail when delivering the report

The subscription will fail with the following error in ION_SystemLog:

ION Web General    ERROR    2020-05-21 19:31:31.877    Subscription Renderer    Service    SendSubscriptionNotification    Server Name    Exception sending notification for subscription '6'.
Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type LogWriter, key "" ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter", name = "(none)".  Exception occurred while: while resolving.  Exception is: InvalidOperationException - The type LogWriter cannot be constructed. You must configure the container to supply this value.  -----------------------------------------------  At the time of the exception, the container was:      Resolving Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter,(none)   ---> System.InvalidOperationException: The type LogWriter cannot be constructed. You must configure the container to supply this value.

Environment
Power Monitoring Expert 2020
Report Subscription

Cause
There are two causes for this issue:

1) The service permission while attempting to get User's email address from Active Directory
2) Missing config file XML that controls how to log this into SystemLog


Resolution
1) Update SubscriptionRenderer.exe.config

- Open this file SubscriptionRenderer.exe.config found in PME Directory \System\bin - (make a backup copy for safety)

- Add the following section after the <configuration> tag (in the begging of the file)

<configSections>

<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />

</configSections>

<loggingConfiguration configSource="diagnostic-log.config" />

- Save the file
It should like similar to this:
aa
2) Update the Service "ION Report Subscription Service" to run as Network Service and restart this service
Side note: When changing the account to Network Service, no password is needed. Select the Network Service, delete the password that may be in the password fields, leaving them blank and save it.

3) Restart IIS and ION Application Core service (that will force all the ION Application services to restart)


This will allow the report to be delivered by email for the windows users (active directory).


Additional Information

This may be addressed by the future release of a software cumulative update (CU2).

施耐德電機Taiwan

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