System.IO.FileLoadException: Could not load file or assembly ‘WebsitePanel.VmConfig.exe’ or one of its dependencies

You may receive the following error while installing WebsitePanel Virtual Machine configuration service:

C:\Program Files (x86)\VmConfig>install.bat
Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation.  All rights reserved.

Exception occurred while initializing the installation:
System.IO.FileLoadException: Could not load file or assembly ‘file:///C:\Program Files (x86)\VmConfig\WebsitePanel.VmConfig.exe’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515).
Could Not Find C:\Program Files (x86)\VmConfig\WebsitePanel.VmConfig.InstallLog
Could Not Find C:\Program Files (x86)\VmConfig\WebsitePanel.VmConfig.InstallState
Could Not Find C:\Program Files (x86)\VmConfig\InstallUtil.InstallLog

Solution:

To resolve the above error, you need to unblock security from WebsitePanel.VmConfig.exe file property. Right click on WebsitePanel.VmConfig.exe file -> Go to General tab and click on “Unblock” button. Now, try again to run install.bat file.

Kailash Aghera

Leave a Reply