Wednesday 29 June 2016

Syncfusion.Core.resources error while opening the IBM InfoSphere Information Server Console (isc.exe program) for the first time

Problem(Abstract)

The following error message occurs when the client tier is installed with .Net Framework version 4.0 and version 4.5 (or version 4.5 alone) and you are trying to open the Information Server Console (isc.exe program) for the first time:

System.IO.FileNotFoundException: Could not find file 'Syncfusion.Core.resources' error when the user was trying to login for the first time.

Symptom

This error occurs when the client tier is installed with .Net Framework version 4.0 and version 4.5 together on the same machine, or version 4.5 by itself.

Environment

Windows with .Net Framework version 4.5

Resolving the problem

This is an XML serialization issue observed on .NET Framework, Version 4.5, particularly with applications written in version 4.0 or earlier.


This error can be eliminated in the following two ways:

1. Edit the isc.exe.config file, which is located in the C:\IBM\InformationServer\Clients\ISC\ directory.

Add the following highlighted text after the startup tag:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<startup>
<supportedRuntime sku=".NETFramework,Version=v4.0" version="v4.0"/>
</startup>
<system.xml.serialization>
<xmlSerializer useLegacySerializerGeneration="true"/>
</system.xml.serialization>
...

The ordering is more important. Serialization and useLegacySerializerGeneration should go after the startup tag.

If the client tier has .Net Framework version 4.0 installed by itself, then these changes are not needed. If these changes are included then the isc.exe program would not start because useLegacySerializerGeneration is not recognized in .Net Framework version 4.0.


2. Alternatively, you can ignore this error message and re-open the IBM InfoSphere Information Server Console. You will not see any issues unless until you clean or clear the client cache from the <user_home>/AppData/Local/IBM/Information Server console folder.

No comments:

Post a Comment