Could not load file or assembly 'App_Code' or one of its dependencies

To resolve this below issue Recompiled your application and depoloy it again

Could not load file or assembly 'App_Code' 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_Code' 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.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'App_Code' 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].
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Adding FTP Accounts

Adding FTP Accounts If you are working on your website together with someone else or host...

Create an Email Accounts

Adding Mail Accounts To create an e-mail address: If you are subscribed to several hosting...

creating-or-removing-scheduled-tasks-in-plesk

Creating or Removing Scheduled Tasks in Plesk  On Windows servers, you can set them up to...

Creating Databases

Creating Databases To create a new database on a hosting account: If you are subscribed to...

Importing Databases

Importing Databases To import an existing database: If you are subscribed to several hosting...