当前位置:   article > 正文

无法安装framework DDSet_Error: Failure creating interface IAssemblyCache_failure creating the framework

failure creating the framework

今天搞了一天,在崩溃边缘,终于搞掂,记录一下

由于安装的错误日志不够详细,所以很难找到问题根源

首先安装 MicrosoftEasyFix(安装和卸载都可以在这里下载:https://support.microsoft.com/en-us/kb/223300

安装后再重新运行一次FRAMEWORK的安装程序,在%temp%里找到一个类似 Microsoft.……msi.txt的文件

中文操作系统在里面找“返回值 3“字符串,再往上一点看看是什么错误

我这里的错误是:

03/24/16 20:41:14 DDSet_Error: Failure creating interface IAssemblyCache
03/24/16 20:41:14 DDSet_Error: CreateAssemblyCache() returned -2147024703
03/24/16 20:41:14 DDSet_Error: Error occurred while initializing fusion.
错误 25003。Error occurred while initializing fusion.

MSI (s) (28!BC) [20:41:15:558]: 产品: Microsoft .NET Framework 4 Client Profile -- 错误 25003。Error occurred while initializing fusion.

再百度一下,达人给出的答案是:(最后就是找到C:\WINDOWS\system32\msvcr100_clr0400.dll文件,并把它重命名一下,64位的话要把另一个也找出来处理一下吧,再重新运行FRAMEWORK安装程序,搞掂)

The above error indicates that the Custom Action (CA_InstallAssemblyDef.3643236F_FC70_11D3_A536_0090278A1BB8) failed to install an assembly in the Global Assembly Cache. After debugging the issue, I found that dummy CRT file msvcr100_clr0400.dll was present on the system. The Microsoft .NET Framework 4.5 carries dummy versions of these CRT files (the files contain no executable code) for various compat reasons.

As per the installer log, the dummy CRT files were already present before the installation took place:

MSI (s) (18:60) [15:38:31:703]: File: C:\WINDOWS\system32\msvcr100_clr0400.dll;           Won’t Overwrite;                Won’t patch;      Existing file is of an equal version    
MSI (s) (18:60) [15:38:31:703]: File: C:\WINDOWS\SysWOW64\msvcr100_clr0400.dll;       Won’t Overwrite;                Won’t patch;      Existing file is of an equal version

I was able to resolve the issue by renaming the file msvcr100_clr0400.dll at the below two locations:

C:\Windows\System32\msvcr100_clr0400.dll      
C:\Windows\SysWOW64\msvcr100_clr0400.dll



为了避免以后安装程序产生太多日志,可以把上面那个EasyFix卸载一下就可以
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/273592
推荐阅读
相关标签
  

闽ICP备14008679号