JTB FlexReport Services automatically stops – solution

Question: When using Test Service Engines I get the error: Please start the Services before testing. The remote name could not be resolved: 'localHost'. But I had started the services right before pressing the test buttons in the JTB FlexReport Service Configurator. The client configurator also shows error when testing service engines.

Another error showing in a dialog box and also in Windows Event Logs: Could not load type 'System.Runtime.Diagnostics.ITraceSourceStringProvider' from assembly 'System.ServiceModel.Internals. Version=4.0.0.0. Culture=neutral. PublicKeyToken=31bf3856ad364e35'.

When manually checking if the JTB FlexReport Auto Chart Service and JTB FlexReport Chart Service are running I find that they are not running and after starting them they stops directly.