...
Migration of your vCenter Server to a vCenter Server Appliance fails with an error similar to: Upgrade Phase 'vcdb:Export' failed. Exception: Error while performing data export! You experience these additional symptoms: In the install_bundle/var/log/vmware/upgrade/Export_com.vmware.vcdb_[date&time].log file, you see entries similar to: ERROR vcdb Error while performing data export! ERROR __main__ Upgrade Phase 'vcdb:Export' failed. Exception: Error while performing data export! Traceback (most recent call last): File "C:\mig3382.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\componentPhaseLauncher.py", line 423, in main executionResult = systemExtension(exeContext) File "C:\mig3382.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\extensions.py", line 94, in __call__ result = self.extension(*args) File "C:\mig3382.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\extensions.py", line 110, in _func return func(*args) File "C:\mig3382.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vcdb\__init__.py", line 1952, in doSourceExport doWindowsExport(context) File "C:\mig3382.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vcdb\__init__.py", line 1908, in doWindowsExport migrateSet, migrateVco = do_windows_export_embedded(context, sourceVer) File "C:\mig3382.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vcdb\__init__.py", line 1845, in do_windows_export_embedded raise PermanentError(cause=error, resolution=suggAction) PermanentError: Error while performing data export! In the install_bundle/var/log/vmware/upgrade/vcdb_export.out file, you see similar messages: C:\Users\[adminuser]\AppData\Local\VMware\Migration-Assistant\export\vcdb>bcp VIM_VCDB..mgrd_exp_tables_columns in "C:\mig3382.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vcdb\windows\export\tables_columns_core_550.bcp" -S localhost\VIM_SQLEXP -T -c -t, Unable to load BCP resource DLL. BCP cannot continue.
This issue occurs if the vCenter Server SQL database has different versions of BCP installed.In this case BCP cannot identify the correct resources to run properly.For more information about BCP, see bcp Utility.
To resolve this issue, Access the machine where your SQL Server is installed on.Open a command prompt.Execute the command: bcp.exe. If you receive the error: Unable to load BCP resource DLL. BCP cannot continue, continue with step 4. If you receive a list of parameters the command can run with and the logs contain the mentioned errors see Additional information, file a support request with VMware Support. For more information, see How to file a Support Request in Customer Connect (2006985)Open a file explorer and go to "C:\Program Files\Microsoft SQL Server\100\Tools\Bin\Resources" (path might differ depending on the Version of SQL Server you are using and custom install paths).If this folder contains more folders than a folder with the name "1033", move all other folders to a backup location.Execute the command again: bcp.exe. If you now receive a list of parameters the command can run with, perform the migration again. If the command is still not giving you a list of parameters, file a support request with VMware Support. The following picture displays a working BCP:
导出数据库时,Windows vCenter Server 到 vCenter Server Appliance 的迁移失败データベースのエクスポート時に vCenter Server Appliance への Windows vCenter Server 移行が失敗する
Click on a version to see all relevant bugs
VMware Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.