Showing posts with label Server Error. Show all posts
Showing posts with label Server Error. Show all posts

Sunday, January 29, 2012

Could not load type 'System.ServiceModel.Activation.HttpModule'

I ran into an error this morning while trying to create my first Cloud Azure app.

Server Error in '/' Application.

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

image

Found the solution here

I am on 64-bit OS, so had to run the following command:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe /iru

Here is the path for the executable:

%windir%\Microsoft.NET\Framework\v4.0.30319
%windir%\Microsoft.NET\Framework64\v4.0.30319 (on a 64-bit machine)

Result:

image

Udemy