Click here to Skip to main content
15,914,452 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

I got an error while run the website actually I am new comer to asp.net.
I am not getting whats error is.
can any one please suggest how to solve thse error.

Could not load file or assembly 'ING' 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 'ING' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Posted
Updated 14-Feb-13 10:59am
v2
Comments
Naveen.Sanagasetti 14-Feb-13 1:53am    
'ING' means your assembly name...?
I think your refering the assembly is not loaded properly. please checkout this...

1 solution

This assembly is built by a runtime newer than the currently loaded runtime

There is your hint. Your application pool is running under the wrong dotNet version.
Using your version of IIS manager, select the correct dotNet version for the applicable app pool.
 
Share this answer
 
Comments
Espen Harlinn 15-Feb-13 9:50am    
5'ed!
fjdiewornncalwe 15-Feb-13 9:56am    
Thanks, Espen.

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