Could not Load File or Assembly….this assembly is built by a runtime newer than the currently loaded runtime…

Cause: When browsing to the Test Page for Verivo AppServer, you receive the following error:

"Could not load file or assembly 'DataColumnExpressionToSQLite' or one of its dependencies.This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."

This error occurs when your Virtual Directory is tied to an Application Pool that is utilizing an older or unsupported version of the .NET framework.

Resolution:  Determine the version of .NET that is running for your virtual directory.

Using IIS 7.0:

  1. Launch IIS. 
  2. Expand the Server under the Start Page.
  3. Expand Sites.
  4. Expand your Web Site and locate your Virtual Directory/Application.
  5. Go to the advanced settings for your virtual directory.
  6. Look for what Application Pool is assigned to your Virtual Directory.
  7. Click on Application Pools (above your default Website).
  8. Select the Application Pool from the previous step.
  9. Verify you are using .NET 4.0 or later in the .Net Framework column.
  10. If not change the version of .NET in this Application Pool to a version 4.0 or higher.
  11. Recycle the Application Pool by hitting “Recycle”.
  12. Browse to your Test Page again.

Using IIS 6.0:

  1. Launch IIS.
  2. Connect to your server.
  3. Expand your Web Site and locate your Virtual Directory/Application.
  4. Right click on your virtual directory and select “Properties”.
  5. Select the ASP.NET tab.
  6. Change your ASP.NET version to a 4.0 .NET Framework.
  7. Right click on your Virtual Directory and select “Refresh”.
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk