Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel

Try with c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -iru When multiple versions of the .NET Framework are executing side-by-side on a single computer, the ASP.NET ISAPI version mapped to an ASP.NET application determines which version of the common language runtime (CLR) is used for the application. Above command will Installs the version of ASP.NET that is associated with Aspnet_regiis.exe and … Read more

Recreate the default website in IIS

Other answers are basically right, thanks to them I was able to restore my default web site, they’re just missing some more or less important details. This was the complete process to restore the Default Web Site in my case (IIS 7 on Windows 7 64bit): open IIS Manager right click Sites node under your … Read more

IISExpress Log File Location

1 . By default applicationhost.config file defines following two log file locations. Here IIS_USER_HOME would be expanded as %userprofile%\documents\IISExpress\. <siteDefaults> <logFile logFormat=”W3C” directory=”%IIS_USER_HOME%\Logs” /> <traceFailedRequestsLogging directory=”%IIS_USER_HOME%\TraceLogFiles” enabled=”true” /> </siteDefaults> You can update above directory paths to change the log file locations. 2 . If you are running IIS Express from command line, you can use … Read more

IIS – 401.3 – Unauthorized

I have struggled on this same issue for several days. It can be solved by modifying the security user access properties of the file system folder on which your site is mapped. But IIS_IUSRS is not the only account you must authorize. In IIS management console, in the Authentication part of the configuration of your … Read more