Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Henrik Molnes
Feb 17, 2014
(2 votes)

Using VppMigrationTool returns exception (Could not load file or assembly..)

This is migth be a bit too specific, but when using the VppMigrationTool to migrate files to EPiServer 7.5 I got this error when trying to connect to the site:


Could not load file or assembly 'file:///C:\Users\pa_hemo\Downloads\EPiServer_7.5_VppMigrationTool\VppMigrationTool_20140107.1\VppMigrationTool.exe' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

At the bottom of the exception you get a little hint, but it took me

some minutes to figure it out. The solution is to add the config settings below in to your Machine.config-file:

      <loadFromRemoteSources enabled="true"/>

This did the trick for me :)

You can also change the VppMigrationTool.exe.config  to look like this:

<?xml version="1.0"?>



        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>



        <loadFromRemoteSources enabled="true"/>



PS: You should also be aware that VppMigrationTool removes the config-settings from web.config for the folders you choose migrate.

Feb 17, 2014


Karsten Hofsmo
Karsten Hofsmo May 22, 2014 12:26 PM

Thank you!! :)

Ted Oct 30, 2014 03:25 PM

Saved me some headache - thanks Henrik!

Please login to comment.
Latest blogs
Join the Work Smarter Webinar: Working with the Power of Configured Commerce (B2B) Customer Segmentation December 7th

Join this webinar and learn about customer segmentation – how to best utilize it, how to use personalization to differentiate segmentation and how...

Karen McDougall | Dec 1, 2023

Getting Started with Optimizely SaaS Core and Next.js Integration: Creating Content Pages

The blog post discusses the creation of additional page types with Next.js and Optimizely SaaS Core. It provides a step-by-step guide on how to...

Francisco Quintanilla | Dec 1, 2023 | Syndicated blog

Stop Managing Humans in Your CMS

Too many times, a content management system becomes a people management system. Meaning, an organization uses the CMS to manage all the information...

Deane Barker | Nov 30, 2023

A day in the life of an Optimizely Developer - Optimizely CMS 12: The advantages and considerations when exploring an upgrade

GRAHAM CARR - LEAD .NET DEVELOPER, 28 Nov 2023 In 2022, Optimizely released CMS 12 as part of its ongoing evolution of the platform to help provide...

Graham Carr | Nov 28, 2023