Issue:

Installation of an update for .net framework 4.0 fails with the error 1402. Below is the snippet of the error log file generated.

============================

MSI (s) (E4:18) [11:16:05:146]: Executing op: RegisterSharedComponentProvider(PatchGUID={3162617C-537F-3BB6-8D0C-C6021F442391},MediaCabinet=#GDRGDR.cab,File=system.web.extensions.dll_amd64,Component={78E0C3E8-8E7D-11DD-A23B-8E7456D89593},ComponentVersion=4.0.30319.206,ProductCode={8E34682C-8118-31F1-BC4C-98CD9675E1C2},ProductVersion=4.0.30319,PatchSize=0,PatchAttributes=0,PatchSequence=10000,SharedComponent=0,IsFullFile=1)

MSI (s) (E4:18) [11:16:05:146]: Note: 1: 1402 2: UNKNOWN\Components\8E3C0E87D7E8DD112AB3E847658D5939\C28643E881181F13CBC489DC69571E2C 3: 5

MSI (s) (E4:18) [11:16:05:146]: Note: 1: 2205 2:  3: Error

MSI (s) (E4:18) [11:16:05:146]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1402

MSI (s) (E4:18) [11:16:05:303]: Note: 1: 2205 2:  3: Error

MSI (s) (E4:18) [11:16:05:303]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709

MSI (s) (E4:18) [11:16:05:303]: Product: Microsoft .NET Framework 4 Extended -- Error 1402. Could not open key: UNKNOWN\Components\8E3C0E87D7E8DD112AB3E847658D5939\C28643E881181F13CBC489DC69571E2C.  System error 5.  Verify that you have sufficient access to that key, or contact your support personnel.

Error 1402. Could not open key: UNKNOWN\Components\8E3C0E87D7E8DD112AB3E847658D5939\C28643E881181F13CBC489DC69571E2C.  System error 5.  Verify that you have sufficient access to that key, or contact your support personnel.

MSI (s) (E4:18) [11:16:05:450]: User policy value 'DisableRollback' is 0

MSI (s) (E4:18) [11:16:05:450]: Machine policy value 'DisableRollback' is 0

Action ended 11:16:05: InstallFinalize. Return value 3.

Resolution:

We did the following steps to fix the issue:

Go to the Registry editor and look for the following registry:

HKLM\Software\Microsoft\Windows\Currentversion\Installer\Userdata\s-1-5-18\Components\8E3C0E87D7E8DD112AB3E847658D5939\C28643E881181F13CBC489DC69571E2C

Right click the Key C28643E881181F13CBC489DC69571E2C

Select “Permissions”

Made sure that the user account (who has Administrative permissions) that is used to log in and the “SYSTEM” accounts have the full control on this registry.

Once the permissions were given the installation of the updates went on fine.

 

Content by : Parameswary Pandian