Click here to Skip to main content
15,883,623 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 17-Sep-12 5:56am
v2
Comments
[no name] 17-Sep-12 11:17am    
Usually a 32 bit vs 64 bit issue

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.
 
Share this answer
 
I got the problem in dll I change the version of the dll.I solve this problem.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900