原始 KB 編號: 3099532
徵狀
您已成功安裝 Microsoft Exchange Server 2016 或 Exchange Server 2013。 安裝程式可能在某個階段失敗或中斷,然後繼續,最後順利完成。 不過,當您嘗試存取 Exchange 控制台 (ECP) 或 Outlook Web App (OWA) 時,您會收到下列錯誤訊息:
發生一些問題
抱歉,我們目前無法取得這些資訊。 請稍後再試。 如果問題持續發生,請連絡您的服務台。
此外,下列事件可能會記錄在應用程式記錄檔中:
Log Name: Application
Source: ASP.NET 4.0.30319.0
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: Exch2.contoso.com
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event ID: f23d9d455f3145068c57286262ac517f
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT/owa-5-130879214460462920
Trust level: Full
Application Virtual Path: /owa
Application Path: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\owa\
Machine name: EXCH2
Process information:
Process ID: 4348
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: TargetInvocationException
Exception message: Exception has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck,
Boolean&canBeCached, RuntimeMethodHandleInternal&ctor, Boolean&bNeedSecurityCheck)
* SharedWebConfig.config is missing from either of these locations:
C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy
C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess
原因
如果下列任一位置遺漏 SharedWebConfig.config,就會發生此問題:
- C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy
- C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess
解決方案
若要解決此問題,請遵循下列步驟:
在遇到問題的伺服器上,識別檔案遺失的位置。
產生遺失的檔案:
執行
cd %ExchangeInstallPath%\bin
以將當前目錄變更為 Exchange 安裝路徑下的 bin 資料夾。使用 DependentAssemblyGenerator.exe 工具來產生檔案:
- 如果在 C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess 遺失檔案,請執行下列命令:
DependentAssemblyGenerator.exe -exchangePath "%ExchangeInstallPath%\bin" -exchangePath "%ExchangeInstallPath%\ClientAccess" -configFile "%ExchangeInstallPath%\ClientAccess\SharedWebConfig.config"
- 如果在 C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy 遺失檔案,請執行下列命令:
DependentAssemblyGenerator.exe -exchangePath "%ExchangeInstallPath%\bin" -exchangePath "%ExchangeInstallPath%\FrontEnd\HttpProxy" -configFile "%ExchangeInstallPath%\FrontEnd\HttpProxy\SharedWebConfig.config"
執行 IISRESET,或重新啟動伺服器。
其他相關資訊
SharedWebConfig.config檔案會在安裝程式的安裝後階段產生。 如果安裝程式在中斷之後繼續執行,則不會針對中斷前成功安裝的角色執行後續安裝步驟。