Hello, I receive this error while trying a source code found online. Does it have to do with web.config?
Could not load file or assembly 'Femiani.Web.Modules.SharedSessionModule' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Sounds like you are building a website using .NET 2.0 through 3.5 sp1, but the library you are attempting to use requires .NET 4.0 or above.
.NET 2.0 - 3.5sp1 are all built on top of the .NET 2.0 runtime. With the release of .NET 4.0 the runtime was upgraded and no longer operates on the 2.0 platform, but has been upgraded and is now in fact truly 4.0.
colol
Member
117 Points
542 Posts
Unable to understand error
Nov 06, 2012 12:53 AM|LINK
Hello, I receive this error while trying a source code found online. Does it have to do with web.config?
Could not load file or assembly 'Femiani.Web.Modules.SharedSessionModule' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
N_EvilScott
Star
8179 Points
1466 Posts
Re: Unable to understand error
Nov 06, 2012 01:16 AM|LINK
Sounds like you are building a website using .NET 2.0 through 3.5 sp1, but the library you are attempting to use requires .NET 4.0 or above.
.NET 2.0 - 3.5sp1 are all built on top of the .NET 2.0 runtime. With the release of .NET 4.0 the runtime was upgraded and no longer operates on the 2.0 platform, but has been upgraded and is now in fact truly 4.0.