Windows

Troubleshooting: Library file CPPWIN32.DLL not found when starting the WebSphere Commerce Migration Wizard

On a Windows 64-bit operating system, you attempt to migrate the database and application from a previous version of WebSphere Commerce to WebSphere Commerce Version 7 using the Migration Wizard, but you encounter an error. The error states that the library file CPPWIN32.DLL is not found in the Migration Wizard Client Console. As a result of the error, migration cannot continue.

Problem

An error message similar to the following is reported in the migration Wizard Client Console when Migration Wizard Client is started:
Library file CPPWIN32.DLL  is not found
This problem is specific to Windows 64-bit operating systems.

When the Migration Wizard Client starts, it performs to see if there is enough free disk space available for migration. The precheck attempts to invoke the CPPWIN32.dll. However, the CPPWIN32.dll is for Windows 32-bit operating systems only; it is not recognized on Windows 64-bit operating systems, so the error message is returned.

Solution

To solve this problem:
  1. Edit the file WC_installdir/migration/xml/app.xml Search the app.xml file for the target -unzip. and make sure the first line of this target is commented. For instance, change it from:
    <wcimAppPrecheckTask newInstanceName="${instanceName}" newWASProfile="${newWASProfile}" />
    to the following:
    <!--<wcimAppPrecheckTask newInstanceName="${instanceName}" newWASProfile="${newWASProfile}" />-->
  2. Save your changes to the app.xml file.
  3. Run the database migration and application migration using migration scripts on the command line interface instead of using the Migration Wizard.