安装 KB2880833 后,ecp
似乎owa
出现问题。访问ecp
网站时,显示以下错误:
Could not load file or assembly 'Microsoft.Exchange.Security' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.Security' or one of its dependencies. The system cannot find the file specified.
甚至在加载登录页面之前就显示此错误。该文件Microsoft.Exchange.Security.dll
确实存在于Bin
Exchange 安装的文件夹中。访问owa
网站时,您确实会被重定向到登录页面,但登录后,您将被重定向到 500 错误页面。
owa
和文件夹中ecp
都有新web.config
文件。但是,即使使用旧web.config
文件,错误仍然存在。
我们仍然可以通过 Outlook 访问电子邮件,似乎没有邮箱受到影响。问题似乎出在ecp
和 上owa
。
编辑- 看起来 Exchange 的 Powershell 也缺少一些依赖项,因为以下内容已记录到事件日志中:
Event code: 3008
Event message: A configuration error has occurred.
Application information:
Application domain: /LM/W3SVC/2/ROOT/PowerShell-24-130376967314709092
Trust level: Full
Application Virtual Path: /PowerShell
Application Path: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\PowerShell-Proxy\
Machine name: EXCH01
Exception information:
Exception type: ConfigurationErrorsException
Exception message: Could not load file or assembly 'Microsoft.Exchange.Configuration.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\PowerShell-Proxy\web.config line 54)
at ...
Could not load file or assembly 'Microsoft.Exchange.Configuration.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\PowerShell-Proxy\web.config line 54)
at ...
Could not load file or assembly 'Microsoft.Exchange.Configuration.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
at ...
Request information:
Request URL: https://localhost:444/powershell?clientApplication=ActiveMonitor
Request path: /powershell
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 7
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
at System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement)
at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement)
at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList)
at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
答案1
在 Exchange 服务器上使用自签名证书?我曾经遇到过同样的问题。卸载昨晚定期维护期间安装的“Exchange Server 2013 累积更新 3 (KB2880833) 安全更新”在服务器上的卸载对话框消失之前就修复了 OWA。