Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Upgrading from vCenter Server 4.x to 5.0 fails with the error: Exception thrown while executing SQL script (2032658)
Symptoms
- Cannot upgrade from vCenter Server 4.x to 5.0
- Upgrading from vCenter Server 4.x to 5.0 fails
- You see the error:
Exception thrown while executing SQL script
- In the %temp%\VCDatabaseUpgrade.log file, you see entries similar to:
Exception Thrown While Executing SQL Script
[8/1/2012 10:24:19 AM] Error: Failed to execute command: ALTER TABLE VPX_DATASTORE_INFO DROP COLUMN TAGGED_FOR_VMFSUPGRADE_FLG;
[8/1/2012 10:24:19 AM] Got exception: ERROR [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]ALTER TABLE DROP COLUMN failed because column 'TAGGED_FOR_VMFSUPGRADE_FLG' does not exist in table 'VPX_DATASTORE_INFO'.
[8/1/2012 10:24:19 AM] Error while upgrading: ERROR [42S22] [Microsoft][SQL Server Native Client 10.0][SQL Server]ALTER TABLE DROP COLUMN failed because column 'TAGGED_FOR_VMFSUPGRADE_FLG' does not exist in table 'VPX_DATASTORE_INFO'.
Cause
Resolution
To create the dummy column:
- Open SQL Server Management Studio.
- Enter your login credentials to connect to the SQL server.
- Navigate to your vCenter Server database and click Tables.
- Double-click dbo.VPX_DATASTORE_INFO.
- Right-click Columns and click New Column.
- Under Column Name enter TAGGED_FOR_VMFSUPGRADE_FLG.
- Select the Allow Null option.
- Click File > Save TAGGED_FOR_VMFSUPGRADE_FLG.
- Restart the upgrade process.
Note: The dummy column created is removed during the upgrade process.
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

