PowerShell Operations fail with Mixed mode assembly is built against a specific version

Curtis Lusmore 7 years ago updated by anonymous 7 years ago 1


PowerShell standard or check operations fail with a message similar to:

Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.        

Affected Software

  • MIM Event Broker
  • PowerShell


Either standard or check PowerShell operations fail with a Mixed Mode exception listed above.


The application configuration of the Event Broker service will need to be updated with the following configuration, under the configuration element:

<startup useLegacyV2RuntimeActivationPolicy="true">
  <supportedRuntime version="v4.0" />

This configuration file can be found by default at:

C:\Program Files\UNIFY Solutions\Event Broker\Services\Unify.Service.Event.exe.config