Итак, я установил KB3011140 в эти выходные, и после перезагрузки, чтобы применить, я не могу запустить Exchange Management Shell (или Центр администрирования, если на то пошло). Я использую Exchange 2013 SP1 CU6.
Ошибка в EMS
VERBOSE: Connecting to amos.sscorp.com.
New-PSSession : [amos.sscorp.com] Processing data from remote server amos.sscorp.com failed with the following error
message: [ClientAccessServer=AMOS,BackEndServer=amos.sscorp.com,RequestId=7fb3067d- 6db7-420a-8e2b-e3b29e025a08,TimeSta
p=12/15/2014 1:06:06 PM]
[AuthZRequestId=ee7db1d8-e4b9-48d8-9f3e-cff5ef65107b][FailureCategory=AuthZ-TypeInitializationException] The type initializer for 'Microsoft.Exchange.Configuration.Authorization.InitialSessionStateBuilder' threw an exception. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : IncorrectProtocolVersion,PSSessionOpenFailed
Ошибка в журнале событий
(Process w3wp.exe, PID 17816) "Exchange AuthZPlugin Fails to finish method GetApplicationPrivateData due to the fatal error: System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Configuration.Authorization.InitialSessionStateBuilder' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Management.PowerShell.CmdletConfigurationEntries' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.MailboxReplicationService.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
at Microsoft.Exchange.Management.PowerShell.CmdletConfigurationEntries..cctor()
--- End of inner exception stack trace ---
at Microsoft.Exchange.Management.PowerShell.CmdletConfigurationEntries.PopulateISSCmdletConfigurationEntries()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Microsoft.Exchange.Configuration.Authorization.InitialSessionStateBuilder..cctor()
--- End of inner exception stack trace ---
at Microsoft.Exchange.Configuration.Authorization.InitialSessionStateBuilder.Build(List`1 allCmdlets, List`1 allScripts, ExchangeRunspaceConfiguration runspaceConfig)
at Microsoft.Exchange.Configuration.Authorization.ExchangeRunspaceConfiguration.CreateInitialSessionState()
at Microsoft.Exchange.Configuration.Authorization.ExchangeAuthorizationPlugin.GetInitialSessionStateCore(PSSenderInfo senderInfo)
at Microsoft.Exchange.Configuration.Authorization.ExchangeAuthorizationPlugin.<>c__DisplayClass4.b__3()
at Microsoft.Exchange.Configuration.Authorization.AuthZLogHelper.HandleExceptionAndRetry[T](String methodName, Func`1 func, Boolean throwException, T defaultReturnValue)".
Я попытался удалить KB, но так как он не может подключиться к EMS, это тоже не удается.
Некоторые веб-сайты рекомендуют попытаться подключиться к ... / EWS / Services.wsdl, но это работает без проблем.
Сегодня утром мой Google-foo, должно быть, не работает, так как я не смог ничего найти.
Исправление заключалось в установке CU7 и перезагрузке. После этого все вернулось без проблем.