Could not load type 'System.ServiceModel.Activation.HttpModule' Sitefinity 4.0 Beta 2
I am getting the following error when I upgraded from Sitefinity 4.0 Beta to 4.0 Beta 2:
Hello Bryan,
Could you check whether your project has a reference to System.ServiceModel v4.0.30319. It looks like you have a reference to System.ServiceModel v 3.0.0.0.
By default the assembly should be located inside C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.ServiceModel.dll
Greetings,
Ivan Dimitrov
the Telerik team
Hey Ivan,
Hello Bryan,
Somewhere you are adding a reference to a wrong version of System.ServiceModel.dll and this is what the error complains. Check the project web.config when you host the application in IIS and all references. Make sure that there is no some setting for auto update that changes the assembly references when you have several versions of .NET Framework installed on the same machine.
Best wishes,
Ivan Dimitrov
the Telerik team
Hey Ivan,
I was getting this error too - but couldn't get around it.
Finally re-registering .net 4.0 in IIS worked:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis -i
Excellent Jason!
aspnet_regiis -i
worked!
Same here, cheers! You can also use aspnet_regiis -iru
to avoid applying it to all the other sites.
Yeahh ... Beautiful! I had been struggling with this now for one day, wondering if Bill was pulling my leg again ;.)
I did exactly the re-registering of .net 4.0 in IIS 7.5, and voila. My SF 4.4 incl. the new fresh installation of SF 5.0 is working flawlessly. A little slow to start with but getting along better as caching starts getting effective.
Rgds/Gunnar