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:
2) Missing config file XML that controls how to log this into SystemLog
Resolution
1) Update SubscriptionRenderer.exe.config
- 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" />
It should like similar to this:
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).
게시 대상: 슈나이더 일렉트릭 Korea
도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.