Strong name validation failed for assembly ...

Strong name validation failed for assembly ...

  

Symptoms:

The error message "Strong name validation failed" appears any time an attempt to execute any of the executables showed below is issued within the OutSystems 4.1 normal operation.
  • CompilerService.exe
  • DeployService.exe
  • LogServer.exe
  • OSHEComp.exe
  • Scheduler.exe
  • SCInstaller.exe
  • SMSConnector.exe


Cause:

This is caused by the requiredRuntime/supportedRuntime settings in the relevant .exe.config file specifying the .NET Framework 1.1 instead of 2.0. The settings will look like this:
<configuration>

<startup>
<requiredRuntime version="V1.1.4322" safemode="true" />
<supportedRuntime version="V1.1.4322" />
</startup>
</configuration>


The entitled exe.config files are the following:
  • CompilerService.exe.config
  • DeployService.exe.config
  • LogServer.exe.config
  • OSHEComp.exe.config
  • Scheduler.exe.config
  • SCInstaller.exe.config
  • SMSConnector.exe.config


This is also caused by running the ".NET Application Restore Tool" which applies for .NET 1.1. Additional info about this tool may be obtained under the following location:


Resolution:

To solve this, remove the mentioned configuration or change the lines in the relevant .exe.config file to:
<configuration>

<startup>
<supportedRuntime version="v2.0.50727" />
</startup>
</configuration>

-----------------------------------------------------
Best Regards

Carlos Cabral