Error occurred during the execution of Setup

  • 21 September 2015
  • 1 reply
  • 0 views

Badge +3

Arguments: /systemkey:C:Program Files (x86)K2 blackpearl

 

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

 

I have search in internet, but I have found only the information, that I should change app.config or K2HostServer.exe.config.

 

I dont have app.config, because this is not a Visual Studio Application and I dont have K2HostServer.exe.config, because K2 is not installed.

 

I just want to know a system key with this command: 


setup.exe /systemkey:"C:Program Files (x86)K2 blackpearl"

 

 


1 reply

Userlevel 5
Badge +16

Hi,

 

Go to your installation folder you'll find Setup.exe.config, make sure you have the following:

 

<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
<supportedRuntime version="v2.0.50727"></supportedRuntime>
</startup>

Reply