CRM 2011: Could not load type ‘System.ServiceModel.Activation.HttpModule’

When you try to access the Microsoft Dynamics CRM 2011 Web client, you get the following error.

Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

This error can occur when there are multiple versions of the .NET Framework on the computer that is running IIS, and IIS was installed after .NET Framework 4.0 or before the Service Model in Windows Communication Foundation was registered.

Resolution:

1. Go to computer where CRM 2011 is installed and open command prompt.

2. Change the directory to C:\windows\Microsoft.NET\Framework64\v4.0.30319

3. Type the following command-     aspnet_regiis.exe -iru

4. Reset the IIS by iisreset command.

Done! 🙂

Advertisements

One thought on “CRM 2011: Could not load type ‘System.ServiceModel.Activation.HttpModule’

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s