.NET Framework 4 安装未成功 一般信任关系失败
生活随笔
收集整理的這篇文章主要介紹了
.NET Framework 4 安装未成功 一般信任关系失败
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
公司內部服務器.Net平臺從Framework2.0升級到Framework 4,同時近千臺客戶端也需要升級。今天正式開始動工,可是剛開始不久就遇到了些麻煩,大部分機器可以正常升級到Framework 4,可是就有那么小部分機器很調皮,怎么安裝都不行,老是提示“安裝未成功”、“沿未安裝.NET Framework 4 ,原因是:一般信任關系失敗。”。沒辦法只能先放放這些比較特殊的機器了,讓他們休息休息!
[img]http://hiphotos.baidu.com/plmmmmlq/pic/item/c1d919f4c6df7500dcc4745f.jpg[/img]
想來想去就覺得這是系統問題,真是重新裝系統的心都有了。可是這不是開玩笑的,至少會有上百臺機子的需要重新裝系統。后來又聽說,有人重新裝過系統還是不行,這下可以肯定的是系統是不用再重裝了。沒辦法,我就google來google去,終于讓我找到了解決的方法。出現這個問題的原因是dll文件注冊不正確,需要重新注冊Softpub.dll, Wintrust.dll, Initpki.dll, and Mssip32.dll這四個dll文件。我們編寫以下腳本:
regsvr32 /s Softpub.dll
regsvr32 /s Wintrust.dll
regsvr32 /s Initpki.dll
regsvr32 /s Mssip32.dll
重新注冊過之后,再安裝.NET Framework 4就可以順利安裝了。
以下內容是我在MSDN網站看到的,也是本文的出處。因為這個問題比較不好處理,故分享。
-------------------------------------------------------------------------------------------------------------------
Hello,
This looks like the issue of incorrect dll registration for some security dlls. Can you please try the following and let me know if this solves the issue or not?
Method for Windows 2000, Windows XP, or Windows Server 2003
To resolve this issue, register the Softpub.dll, Wintrust.dll, Initpki.dll, and Mssip32.dll files. To register these files, follow these steps:
Click Start, click Run, type cmd, and then click OK.
At the command prompt, type regsvr32 Softpub.dll /s, and then press ENTER.
At the command prompt, type regsvr32 Wintrust.dll /s, and then press ENTER.
At the command prompt, type regsvr32 Initpki.dll /s, and then press ENTER.
At the command prompt, type regsvr32 Mssip32.dll /s, and then press ENTER.
The complete artcle can been seen here: http://support.microsoft.com/kb/956702
I hope this will resolve the issue.
Thanks & Regards,
Muhammad Ghaznawi
Proposed As Answer byHellBringerTuesday, April 05, 2011 9:25 AM
[img]http://hiphotos.baidu.com/plmmmmlq/pic/item/c1d919f4c6df7500dcc4745f.jpg[/img]
想來想去就覺得這是系統問題,真是重新裝系統的心都有了。可是這不是開玩笑的,至少會有上百臺機子的需要重新裝系統。后來又聽說,有人重新裝過系統還是不行,這下可以肯定的是系統是不用再重裝了。沒辦法,我就google來google去,終于讓我找到了解決的方法。出現這個問題的原因是dll文件注冊不正確,需要重新注冊Softpub.dll, Wintrust.dll, Initpki.dll, and Mssip32.dll這四個dll文件。我們編寫以下腳本:
regsvr32 /s Softpub.dll
regsvr32 /s Wintrust.dll
regsvr32 /s Initpki.dll
regsvr32 /s Mssip32.dll
重新注冊過之后,再安裝.NET Framework 4就可以順利安裝了。
以下內容是我在MSDN網站看到的,也是本文的出處。因為這個問題比較不好處理,故分享。
-------------------------------------------------------------------------------------------------------------------
Hello,
This looks like the issue of incorrect dll registration for some security dlls. Can you please try the following and let me know if this solves the issue or not?
Method for Windows 2000, Windows XP, or Windows Server 2003
To resolve this issue, register the Softpub.dll, Wintrust.dll, Initpki.dll, and Mssip32.dll files. To register these files, follow these steps:
Click Start, click Run, type cmd, and then click OK.
At the command prompt, type regsvr32 Softpub.dll /s, and then press ENTER.
At the command prompt, type regsvr32 Wintrust.dll /s, and then press ENTER.
At the command prompt, type regsvr32 Initpki.dll /s, and then press ENTER.
At the command prompt, type regsvr32 Mssip32.dll /s, and then press ENTER.
The complete artcle can been seen here: http://support.microsoft.com/kb/956702
I hope this will resolve the issue.
Thanks & Regards,
Muhammad Ghaznawi
Proposed As Answer byHellBringerTuesday, April 05, 2011 9:25 AM
總結
以上是生活随笔為你收集整理的.NET Framework 4 安装未成功 一般信任关系失败的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: alifhab
- 下一篇: 跳出“套路”泥沼,让在线教育回归本心