after installed CU 23
Microsoft Exchange Service Host start and stop immediately
check eventlog had two error
First Error
記錄檔名稱: Application
來源: MSExchange RBAC
日期:
事件識別碼: 80
工作類別: RBAC
層級: 錯誤
關鍵字: 傳統
使用者: 不適用
電腦: mx.abc.com
描述:
(處理序 w3wp.exe,PID 8668)「Exchange AuthZPlugin 無法完成方法 GetApplicationPrivateData,因為發生嚴重錯誤: 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. 系統找不到指定的檔案。
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(List1 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.<GetApplicationPrivateData>b__3()
at Microsoft.Exchange.Configuration.Authorization.AuthZLogHelper.HandleExceptionAndRetry[T](String methodName, Func1 func, Boolean throwException, T defaultReturnValue)。」 事件 Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="MSExchange RBAC" /> <EventID Qualifiers="49152">80</EventID> <Level>2</Level> <Task>2</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2021-04-23T00:27:16.000000000Z" /> <EventRecordID>13897615</EventRecordID> <Channel>Application</Channel> <Computer>mx.abc.com</Computer> <Security /> </System> <EventData> <Data>w3wp.exe</Data> <Data>8668</Data> <Data>GetApplicationPrivateData</Data> <Data>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. 系統找不到指定的檔案。 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, List1 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.<GetApplicationPrivateData>b__3() at Microsoft.Exchange.Configuration.Authorization.AuthZLogHelper.HandleExceptionAndRetry[T](String methodName, Func
1 func, Boolean throwException, T defaultReturnValue)</Data>
</EventData>
</Event>
Second Error
記錄檔名稱: Application
來源: MSExchange RBAC
日期: 2021/4/23 上午 08:27:16
事件識別碼: 258
工作類別: RBAC
層級: 錯誤
關鍵字: 傳統
使用者: 不適用
電腦: mx.abc.com.tw
描述:
(處理序 8668,PID w3wp.exe)「RemotePS 公用 API Func GetApplicationPrivateData throws Exception 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. 系統找不到指定的檔案。
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(List1 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.<GetApplicationPrivateData>b__3()
at Microsoft.Exchange.Configuration.Authorization.AuthZLogHelper.HandleExceptionAndRetry[T](String methodName, Func1 func, Boolean throwException, T defaultReturnValue) at Microsoft.Exchange.Configuration.Authorization.AuthZLogHelper.<>c__DisplayClassc
1.<ExecuteWSManPluginAPI>b__8()
at Microsoft.Exchange.Diagnostics.CmdletInfra.Diagnostics.ExecuteAndLog[T](String funcName, Boolean missionCritical, LatencyTracker latencyTracker, ExEventLog eventLog, EventTuple eventTuple, Trace tracer, IsExceptionInteresting isExceptionInteresting, Action1 onError, T defaultReturnValue, Func
1 func). 失敗,發生例外狀況 %4。」
事件 Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchange RBAC" />
<EventID Qualifiers="49152">258</EventID>
<Level>2</Level>
<Task>2</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2021-04-23T00:27:16.000000000Z" />
<EventRecordID>13897616</EventRecordID>
<Channel>Application</Channel>
<Computer>mx.abc.com.tw</Computer>
<Security />
</System>
<EventData>
<Data>8668</Data>
<Data>w3wp.exe</Data>
<Data>Func GetApplicationPrivateData throws Exception 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. 系統找不到指定的檔案。
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(List1 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.<GetApplicationPrivateData>b__3()
at Microsoft.Exchange.Configuration.Authorization.AuthZLogHelper.HandleExceptionAndRetry[T](String methodName, Func1 func, Boolean throwException, T defaultReturnValue) at Microsoft.Exchange.Configuration.Authorization.AuthZLogHelper.<>c__DisplayClassc
1.<ExecuteWSManPluginAPI>b__8()
at Microsoft.Exchange.Diagnostics.CmdletInfra.Diagnostics.ExecuteAndLog[T](String funcName, Boolean missionCritical, LatencyTracker latencyTracker, ExEventLog eventLog, EventTuple eventTuple, Trace tracer, IsExceptionInteresting isExceptionInteresting, Action1 onError, T defaultReturnValue, Func
1 func).</Data>
</EventData>
</Event>
How can i fix this issue
Somebody Help Me . PLEASE!!!