If .NET software is improperly installed inside a container, or if there are other problems with your .NET software, the container may exhibit the following behavior:
Application error when opening Microsoft Management Console
.NET or .NET-related application installation fails with the following error:
Attempt to install .NET Framework 3.0 failed with error code 0x80070643. Fatal error during installation
Upon launching .NET 4.0 ngen.exe update, you receive the following error message:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe update cannot load mscoree.dll
.NET-related libraries are not properly updated inside the container.
Try following these steps to fix the issue:
Run in the broken container:
Run Upgrade Readiness Tool in the broken container.
Copy and paste into the broken container the following files from a working container with the same OS and .NET framework version and architecture:
C:\Windows\System32\mscoree.dll C:\Windows\SysWOW64\mscoree.dll C:\Windows\System32\mscorier.dll C:\Windows\SysWOW64\mscorier.dll C:\Windows\System32\mscories.dll C:\Windows\SysWOW64\mscories.dll
To avoid the occurrence of this issue, follow .NET usage best practices:
- 111448 How do I properly install .NET Framework inside containers?
- 11220 Is it safe to install Microsoft .NET Framework on a Hardware Node?
NOTE: Similar issues may be observed on physical hosts as well, depending on the issue's root cause.
Read more on MSDN blog