When trying to promote to the vdisk, it says an unexpected MAPI error occured.
The "Catalog UID" (On Delivery Controller) was different than the "xdCatalogID" entry in SQL. Thus we were seeing the MAPI error.
1. On Controller,
- Launch Powershell as an administrator and load Citrix snap-ins > asnp citrix*
- Make a note of the name of the catalog which has issues > Get-BrokerCatalog -Name 'CatalogName'
- Make a note of Catalog UID.
2. On SQL Server which hosts PVS database,
- Expand PVS Database > Tables > dbo.Device > Select top 1000 rows
- Make a note of "xdCatalogID" associated with one of the devices.
3. Compare both "xdCatalogID" and "Catalog UID", They will be different.
4. Complete one of the following steps to resolve this issue:
Run the following SQL query on PVS database with correct IDs:
"update Device set xdCatalogid = 17 where xdcatalogid=15"
For example,
17 is Correct ID
15 is incorrect ID