I installed and used chocolatey
in the past on my Windows 7 running in Parallels on Mac OSX.
However, recently, whenever I try to use it from the command prompt I get the following error:
CLR initialization failed with error 800700c1.
I don't think this is a problem with choco
itself, but something with the CLR configuration.
I couldn't find any solution to this.
UPDATE:
I get the same message if I run powershell
.
Also, when I attempted "Control Panel->Troubleshooting->Fix Problems with Windows Update" I get an error dialog with the same code.
I also tried repairing and updating the .NET Framework installation, but to no avail.
Update 2
I think it is related to the following DLL: C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9alel8e3b_8.0.50727.3053_x-ww_b80fa8ca\MSVCR80.dll
. It is apparently corrupted. When I try to open in in depends
it gives an error: "No DOS or PE signature found. This file is not a valid 32-bit or 64-bit Windows module."
CHKDSK
to see if you have file-system corruption, once that comes up clean runSFC /scannow
to ensure all system files are correct. Report back with results. :)chkdsk: Windows has checked the file system and found no problems.
SFC /scannow: Windows Resource Protection did not find any integrity violations.