Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Could not load file or assembly 'BusinessLogic' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

$
0
0

Hi,

I am trying to host WCF service in IIS that I will consume for mobile app. I am trying to host it in IIS and when I check it in Browser i am getting below shown error

----------------------------------------------------------------------------------------------------------------

Server Error in '/SayHiServiceSite' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'BusinessLogic' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Source Error:
Line 57:                 <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 58:                 <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>Line 59:                 <add assembly="*"/>Line 60:                 <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
Line 61:                 <add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>

Source File: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config   Line:59

Assembly Load Trace: The following information can be helpful to determine why the assembly 'BusinessLogic' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

----------------------------------------------------------------------------------------------------------------

I have already tried to change the .net framework version from 4 to 3.5 and 2 but not successfull. is there anything else I have to look into.

THanks in advance

Sourabh Gupta


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>