1.80 still referencing framework 3.0 and 3.5 assemblies?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
I'm not sure if this would be considered a bug, but I'll post it anyway and see if anyone has any thoughts on the subject.

Having upgraded from 1.60 to 1.80 and switched my hosted web site from ASP.NET 2.0 to ASP.NET 4.0, I get the following error when I try to go to the home page of my site:

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

Researching this, it seems like this MAY be as a result of a configuration issue on the server:

http://blogs.iis.net/webtopics/archive/2010/04/28/system-typeloadexception-for-system-servicemodel-activation-httpmodule-in-asp-net-4.aspx

But I'm not toally convinced of that. I started playing around and it seems to me that the only reference to the System.ServiceModel assembly is in thee Nop.BusinessLogic assembly ... and it looks to me like it't not used anyway? If I remove the reference everything still builds!

What I'm really confused about is if I look at the references in the C# project file (Nop.BusinessLogic.csproj) it looks like this:

<Reference Include="System.ServiceModel">
  <RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>

I was under the impression that nopCommerce was now a framweork 4 application, so can anyone explain to me what this reference to 3.0 is all about?  By the way, this isn't the only one, there are also other similar references in the same file, and several references to 3.5 also?
12 years ago
RESOLVED:

Thanks to this:
http://www.youtube.com/watch?v=yHkX7BdcdWA

In order to get past this error, I needed to go into the Control Panel for my domain and give Read/Write permission to 'NETWORK SERVICE'.  You can see a walkthrough of this in the above youtube video.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.