Problems after upgrading 1.60 to 1.80

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 anni tempo fa
I recently upgraded my site (hosted on Arvixe) from 1.60 to 1.80, and so from .NET 2.0 to 4.0. I had some issues switching my hosting environment to 4.0, but with help from hosting support it was up and running.

Today when I go to my site I get an exception:

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 it's probably a configuration error on the server, and the hosting company are looking into that. Refer to this for more info:

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

However, 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 confudes 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?
13 anni tempo fa
Make sure that this is not inherited value.
Target framework for version 1.8 must be 4.0
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.