Click here to Skip to main content
11,480,701 members (63,114 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET4.0
I got this type of output from server(webserver).Please help me.
Could not load file or assembly 'App_Licenses' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: Could not load file or assembly 'App_Licenses' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Posted 17-Sep-12 6:11am
Edited 17-Sep-12 6:56am
v2
Comments
Wes Aday at 17-Sep-12 11:17am
   
Usually a 32 bit vs 64 bit issue
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Could not load file or assembly 'App_Licenses' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Pretty straight forward error that tells you the issue and resolution.

Assembly 'App_licenses' could not be loaded as the runtime set for the class library is higher than what is expected by your web application. Either upgrade your app, and then reference the assembly or find the correct version of assembly to refer to your app.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I got the problem in dll I change the version of the dll.I solve this problem.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 294
1 OriginalGriff 155
2 Richard MacCutchan 150
3 CHill60 130
4 CPallini 125
0 Sergey Alexandrovich Kryukov 8,184
1 OriginalGriff 7,556
2 Sascha Lefèvre 3,114
3 Maciej Los 2,491
4 Richard Deeming 2,335


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 17 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100