Use DB2 repositories in 64-bit installations

Tricentis Tosca in 32-bit supports DB2 repositories by default.

If you want to use DB2 repositories in 64-bit installations, you need to perform additional actions after the installation of Tricentis Tosca:

  1. Open the following configuration files at %COMMANDER_HOME%:

    • ToscaCommander.exe.config

    • TCShell.exe.config

  2. In each the file, insert the following entry between the <runtime> and </runtime> tags, after the existing assemblyBinding nodes:

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

<dependentAssembly>

<assemblyIdentity name="IBM.Data.DB2" publicKeyToken="7c307b91aa13d208" culture="" />

<bindingRedirect oldVersion="8.0.0.0-9.0.0.1" newVersion="9.0.0.2" />

</dependentAssembly>

</assemblyBinding>

  1. Create a new configuration file for each of the following programs:

    • TDMObjectEditor.exe

    • DbRepositorySchemaMigrator.exe

    • TCAPI programs, for instance TDMObjectEditor.exe.config

    This configuration file must have the following content:

<?xml version="1.0"?>

<configuration>

<runtime>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

<dependentAssembly>

<assemblyIdentity name="IBM.Data.DB2" publicKeyToken="7c307b91aa13d208" culture="" />

<bindingRedirect oldVersion="8.0.0.0-9.0.0.1" newVersion="9.0.0.2" />

<codeBase version="9.0.0.2" href="C:\Program Files (x86)\IBM\DB2DSDriver\bin\netf20\IBM.Data.DB2.dll"/>

</dependentAssembly>

</assemblyBinding>

</runtime>

</configuration>