Troubleshooting: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel...'
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.
For Windows 7 and Windows Server 2008, use the ASP.NET IIS Registration Tool (aspnet_regiis.exe,) to register the correct version of ASP.NET. To do this, follow the steps below:
- On the computer that is running Microsoft Dynamics NAV Web Server components, open a command prompt as an administrator as follows:
- From the Start menu, choose All Programs, and then choose Accessories.
- Right-click Command Prompt, and then choose Run as administrator.
- At the command prompt, type the following command to change to the Microsoft.NET\Framework64\v4.0.30319 folder, and then press Enter.
cd\Windows\Microsoft.NET\Framework64\v4.0.30319
- At the command prompt, type the following command, and then press Enter.
aspnet_regiis.exe -iru
- At the command prompt, type the following command, and then press Enter.
iisreset
Comments
0 comments
Please sign in to leave a comment.