Link to home
Start Free TrialLog in
Avatar of Visable Admin
Visable AdminFlag for Germany

asked on

Exchange 2016 - Transport service will not start / Error

Hello Experts,

we have two Exchange 2016 Servers in our Company in a DAG Mode with an Loadbalancer before.
There was an Error in our VMWare Virtualization and the first Exchange Server crashed. I had to restart it.
After the restart the Transport Service will not start anymore.

In the Eventlog i see every few minutes the following Error:

EventID: 16024 - MSExchangeSubmission

The description for Event ID 16024 from source MSExchangeSubmission cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

Faulted
Exceptions Encountered - System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Forefront.AntiSpam.SpamEngine, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
   at Microsoft.Exchange.Transport.Agent.Malware.SubmissionMalwareAgentFactory..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.<>c__DisplayClass20_0.<CreateAgentFactory>b__0(Assembly assembly)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.LoadAssemblyAndCreateInstance[T](AgentInfo agentInfo, CreateInstance`1 createInstance, String& agentPath, Exception& exception)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.CreateAgentFactory(AgentInfo agentInfo)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable..ctor(IEnumerable agents, FactoryInitializer factoryInitializer)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.CreateDefaultFactoryTable(IEnumerable agents, FactoryInitializer factoryInitializer)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettings..ctor(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettingsFactory.CreateDefaultRuntimeSettings(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettingsFactory.Create(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExRuntime..ctor(String configFile, String agentGroup, ProcessTransportRole processTransportRole, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, FactoryInitializer factoryInitializer, ITransportComponentConfiguration transportComponentConfiguration)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExRuntime.CreateInstance(String configFile, String agentGroup, ProcessTransportRole processTransportRole, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, FactoryInitializer factoryInitializer, ITransportComponentConfiguration transportComponentConfiguration)
   at Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper..ctor(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func`2 getGrayExceptionContextData)
   at Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper.CreateDefaultMExWrapper(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func`2 getGrayExceptionContextData)
   at Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper.Create(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func`2 getGrayExceptionContextData)
   at Microsoft.Exchange.MailboxTransport.Submission.Categorizer.SubmissionCategorizerComponent.LoadWorker()
   at Microsoft.Exchange.MailboxTransport.Submission.Categorizer.SubmissionCategorizerComponent.<Load>b__36_0()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Forefront.AntiSpam.SpamEngine, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
   at Microsoft.Exchange.Transport.Agent.Malware.SubmissionMalwareAgentFactory..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.<>c__DisplayClass20_0.<CreateAgentFactory>b__0(Assembly assembly)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.LoadAssemblyAndCreateInstance[T](AgentInfo agentInfo, CreateInstance`1 createInstance, String& agentPath, Exception& exception)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.CreateAgentFactory(AgentInfo agentInfo)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable..ctor(IEnumerable agents, FactoryInitializer factoryInitializer)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.CreateDefaultFactoryTable(IEnumerable agents, FactoryInitializer factoryInitializer)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettings..ctor(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettingsFactory.CreateDefaultRuntimeSettings(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettingsFactory.Create(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExRuntime..ctor(String configFile, String agentGroup, ProcessTransportRole processTransportRole, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, FactoryInitializer factoryInitializer, ITransportComponentConfiguration transportComponentConfiguration)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExRuntime.CreateInstance(String configFile, String agentGroup, ProcessTransportRole processTransportRole, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, FactoryInitializer factoryInitializer, ITransportComponentConfiguration transportComponentConfiguration)
   at Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper..ctor(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func`2 getGrayExceptionContextData)
   at Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper.CreateDefaultMExWrapper(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func`2 getGrayExceptionContextData)
   at Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper.Create(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func`2 getGrayExceptionContextData)
   at Microsoft.Exchange.MailboxTransport.Submission.Categorizer.SubmissionCategorizerComponent.LoadWorker()
   at Microsoft.Exchange.MailboxTransport.Submission.Categorizer.SubmissionCategorizerComponent.<Load>b__36_0()
   at System.Threading.Tasks.Task.Execute()<---
.

the message resource is present but the message is not found in the string/message table

Open in new window


I restarted the Sever againg but its still the same Error
Avatar of timgreen7077
timgreen7077

To be honest it's possible the installation has become to corrupt and you may have reinstall exchange in recovery mode. See the below link for assistance with that process. This may be your best option and the least time consuming.

https://practical365.com/exchange-server/recovering-a-failed-exchange-2016-database-availability-group-member
It looks like you've previously installed antispam agents and there's a problem with them.  Take a look here to reinstall the agents on that server: https://docs.microsoft.com/en-us/exchange/antispam-and-antimalware/antispam-protection/antispam-on-mailbox-servers?view=exchserver-2019#step-1-run-the-install-antispamagentsps1-powershell-script
ASKER CERTIFIED SOLUTION
Avatar of Visable Admin
Visable Admin
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial