we have management pack SQL 2014 with version 7.0.15.0
Event ID: 4201. Management Group: XXX Script: Main Module: CPUUsagePercentDataSource.ps1
: 7.0.15.0 :
Error occurred during CPU Usage for SQL Instances data source executing.
Computer XXXXXXX
Reason: Cannot add type. There were compilation errors.
Position:305
Offset:29
Detailed error output: Cannot add type. There were compilation errors.
--------
(0) : No inputs specified
(1) : using System;
--------
(0) : Source file 'C:\Windows\TEMP\fhw4ddsx.0.cs' could not be found
(1) : using System;
--------
Requested registry access is not allowed.
--------
Attempted to perform an unauthorized operation.
SCOM service account is part of administrators on these SQL machines.
swapna