During the vCenter upgrade, after all the info is put in, during the database upgrade section, a window pops that says "Exception thrown while executing SQL script"
Click ok, and it 'rolls back' and exits the installer.
This is the error. I've verified the index does exist, and I don't think there is a permission issue. vCenter is using windows mode auth and seems to work fine. I've restored my DB, and ahve a working 4.1 vCenter, but I need to get by this for the 5.1 upgrade.
Anyone have any thoughts?
<snip>
IF NOT EXISTS(SELECT 0 FROM VPX_STAT_ID WHERE MOID IS NULL)
BEGIN
DROP INDEX VPX_STAT_ID_M1 ON VPX_STAT_ID;
ALTER TABLE VPX_STAT_ID ALTER COLUMN MOID NVARCHAR(255) NOT NULL;
CREATE INDEX VPX_STAT_ID_M1 ON VPX_STAT_ID(MOID);
END
[6/21/2013 3:51:17 PM] Error: Failed to execute command: IF NOT EXISTS(SELECT 0 FROM VPX_STAT_ID WHERE MOID IS NULL)
BEGIN
DROP INDEX VPX_STAT_ID_M1 ON VPX_STAT_ID;
ALTER TABLE VPX_STAT_ID ALTER COLUMN MOID NVARCHAR(255) NOT NULL;
CREATE INDEX VPX_STAT_ID_M1 ON VPX_STAT_ID(MOID);
END
[6/21/2013 3:51:17 PM] Got exception: ERROR [42S02] [Microsoft][SQL Native Client][SQL Server]Cannot drop the index 'VPX_STAT_ID.VPX_STAT_ID_M1', because it does not exist or you do not have permission.
[6/21/2013 3:51:17 PM] Error while upgrading: ERROR [42S02] [Microsoft][SQL Native Client][SQL Server]Cannot drop the index 'VPX_STAT_ID.VPX_STAT_ID_M1', because it does not exist or you do not have permission.
[6/21/2013 3:51:17 PM] Info: Exiting Upgrade Wizard
</snip>