Exchange 2010 RU5 install breaks OWA with Could not load type ‘Microsoft.Exchange.Common.ExWebHealthModule’ from assembly


After installing RU5 OWA, ECP, EAS, EWS, and Autodiscover all stopped working and returned the following error in IE.
Server Error in ‘/owa’ Application.

Could not load type ‘Microsoft.Exchange.Common.ExWebHealthModule’ from assembly ‘Microsoft.Exchange.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.

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.TypeLoadException: Could not load type ‘Microsoft.Exchange.Common.ExWebHealthModule’ from assembly ‘Microsoft.Exchange.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

 [TypeLoadException: Could not load type ‘Microsoft.Exchange.Common.ExWebHealthModule’ from assembly ‘Microsoft.Exchange.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.]

System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0

System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +62

System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +42

System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +77

System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +105

System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +64

[ConfigurationErrorsException: Could not load type ‘Microsoft.Exchange.Common.ExWebHealthModule’ from assembly ‘Microsoft.Exchange.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.]

System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +11189037

System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +78

System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +194

System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1891

System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +166

System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +336

System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +350

System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +382

[HttpException (0x80004005): Could not load type ‘Microsoft.Exchange.Common.ExWebHealthModule’ from assembly ‘Microsoft.Exchange.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.]

System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11318198

System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88

In addition the Application log had these errors:

Log Name: Application

Source: ASP.NET 2.0.50727.0

Date: 10/26/2011 9:21:33 AM

Event ID: 1310

Task Category: Web Event

Level: Warning

Keywords: Classic

User: N/A

Computer: IZSRVEXDAG1.altered.com

Event code: 3008

Event message: A configuration error has occurred.

Application information:

Application domain: /LM/W3SVC/1/ROOT/Microsoft-Server-ActiveSync-2-129641160936068710

Trust level: Full

Application Virtual Path: /Microsoft-Server-ActiveSync

Application Path: C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\sync\

Machine name: IZSRVEXDAG1

 

Process information:

Process ID: 6928

Process name: w3wp.exe

Account name: NT AUTHORITY\SYSTEM

 

Exception information:

Exception type: ConfigurationErrorsException

Exception message: Could not load type ‘Microsoft.Exchange.Common.ExWebHealthModule’ from assembly ‘Microsoft.Exchange.Common, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.

 

Request information:

Request URL: https://mail.altered.com:443/Microsoft-Server-ActiveSync/default.eas?User=personals@izzy.org&DeviceId=ApplC39F58Q4DDP7&DeviceType=iPhone&Cmd=Ping

Request path: /Microsoft-Server-ActiveSync/default.eas

User host address: 174.253.164.24

User:

Is authenticated: False

Authentication Type:

Thread account name: NT AUTHORITY\SYSTEM

 

Thread information:

Thread ID: 1

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..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)

 

To resolve the problem open up the web.config file in the OWA, ECP, EWS, EAS, and Autodiscover folders.

Then remove the following line and save the files.

<remove name=”Profile <add name=”CasHealthModule” type=”Microsoft.Exchange.Common.ExWebHealthModule,Microsoft.Exchange.Common, ” />

This entry was posted in Exchange, Microsoft, Technical and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s