2016-01-14 70 views
0

我有一個關於在Windows Server 2012上安裝IIS8我跟着從IIS.net教程的問題,但並沒有成功地安裝它,我返回此錯誤:IIS 8無法安裝的問題

Installation of one or more roles, role services, or features failed. The source files could not be found. Try installing the roles, role services, or features again in a new Add ROles and Features Wizzard session, and on the Confirmatino page of the wizard, click "Specify an alternate source path" to specify a valid location of the source files that are required for the installation. The location must be accesible by the computer account of the destination server.

我需要提及的是我有一個有效的互聯網連接。

經過一番研究,我已經成功地從PowerShell中做到這一點(如運行管理員),用下面的命令:

Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole 

有任何你遇到過這個問題?

+0

我還沒有看到互聯網連接的錯誤,但在網絡共享上,通常共享更改或共享權限發生了更改。但由於它是在線連接,我的第一個想法是防火牆或代理可能會干擾。我想知道如果安裝過程中運行的系統用戶不是你自己的系統用戶(就像很多線程進程一樣)。然後,即使可以,該用戶也可能無法訪問互聯網。只是一個想法... –

+0

搜索IIS 7不能安裝在互聯網上的帖子,你會學到解決方案。衆所周知的問題從一開始。 –

+0

我正面臨類似的問題,它給出了以下錯誤'一個或多個功能的安裝失敗,,。 –

回答

0

我發現了另一個解決方案:您需要安裝Windows安裝DVD或映像,然後再次嘗試安裝IIS功能。爲我工作。