During a reconfigure of the installed products (or during re-attaching the database), the following messages were noticed in the NS logs after SIM failed to reconfigure:
A critical error occurred:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Altiris.NS.Exceptions.AeXException: Critical error: Failed to compile shadow assembly.
error CS0433
ITMS 8.7
See the following Microsoft article: Compiler Error CS0433
Try the following:
You will need to clear out the "Temporary ASP.NET Files" folder:
Explanation:
Also verify the following:
We found that in some occasions the permissions in the machine keys directory needed to have the service account (App Identity) added instead of just having them in the administrators group:
Option 1:
Give your App Identity Full Control in NTFS security permissions to the following folder: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
Option 2:
NOTE: If you are using the steps to swap out the APP ID account and running into this issue, add BOTH App ID accounts with Full Control to the MachineKeys folder.