日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) >

.NET Framework 4 安装未成功 一般信任关系失败

發(fā)布時(shí)間:2023/12/20 61 豆豆
生活随笔 收集整理的這篇文章主要介紹了 .NET Framework 4 安装未成功 一般信任关系失败 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
公司內(nèi)部服務(wù)器.Net平臺(tái)從Framework2.0升級(jí)到Framework 4,同時(shí)近千臺(tái)客戶端也需要升級(jí)。今天正式開始動(dòng)工,可是剛開始不久就遇到了些麻煩,大部分機(jī)器可以正常升級(jí)到Framework 4,可是就有那么小部分機(jī)器很調(diào)皮,怎么安裝都不行,老是提示“安裝未成功”、“沿未安裝.NET Framework 4 ,原因是:一般信任關(guān)系失敗。”。沒辦法只能先放放這些比較特殊的機(jī)器了,讓他們休息休息!

[img]http://hiphotos.baidu.com/plmmmmlq/pic/item/c1d919f4c6df7500dcc4745f.jpg[/img]

想來想去就覺得這是系統(tǒng)問題,真是重新裝系統(tǒng)的心都有了。可是這不是開玩笑的,至少會(huì)有上百臺(tái)機(jī)子的需要重新裝系統(tǒng)。后來又聽說,有人重新裝過系統(tǒng)還是不行,這下可以肯定的是系統(tǒng)是不用再重裝了。沒辦法,我就google來google去,終于讓我找到了解決的方法。出現(xiàn)這個(gè)問題的原因是dll文件注冊(cè)不正確,需要重新注冊(cè)Softpub.dll, Wintrust.dll, Initpki.dll, and Mssip32.dll這四個(gè)dll文件。我們編寫以下腳本:
regsvr32 /s Softpub.dll
regsvr32 /s Wintrust.dll
regsvr32 /s Initpki.dll
regsvr32 /s Mssip32.dll
重新注冊(cè)過之后,再安裝.NET Framework 4就可以順利安裝了。
以下內(nèi)容是我在MSDN網(wǎng)站看到的,也是本文的出處。因?yàn)檫@個(gè)問題比較不好處理,故分享。
-------------------------------------------------------------------------------------------------------------------
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

總結(jié)

以上是生活随笔為你收集整理的.NET Framework 4 安装未成功 一般信任关系失败的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。