Article Original Creation Date: 2017-06-14
Overview
Users are unable to launch PivotalClient due to the UX Client metadata error (see the below stack trace) after a system is restored from a previous version to a higher platform version:
Error from Pivotal Event:
[System Name: Offline]
Unable to load system 'Offline'.
Cannot load metadata using UxClient.Metadata.Activities.UxRecordLinkCollectionBuilder.
====================
Cannot load metadata using UxClient.Metadata.Activities.UxRecordLinkCollectionBuilder.
Pivotal.DataAccess: Unable to find the column 'Record_Link.Office_Ordinal'.
at Pivotal.DataAccess.DataSetBuilder.GetSql(DbSchemaType dbSchemaType, TableSpec tableSpec, DbParameterCollection parameters, String sqlComment)
at Pivotal.DataAccess.DataSetBuilder.BuildDataSet(DbSchemaType dbSchemaType, DataSpec dataSpec, String sqlComment)
at Pivotal.MetadataLoader.PivotalMetadataLoader.LoadMetadataType(MetadataService metaService, DataSetBuilder dsBuilder, String assemblyName, String className)
at Pivotal.MetadataLoader.PivotalMetadataLoader.LoadMetadataFromPath(MetadataService metaService, DataSetBuilder dsBuilder, String pathName)
--- End of inner exception stack trace ---
Pivotal.MetadataLoader: Cannot load metadata using UxClient.Metadata.Activities.UxRecordLinkCollectionBuilder.
at Pivotal.MetadataLoader.PivotalMetadataLoader.LoadMetadataFromPath(MetadataService metaService, DataSetBuilder dsBuilder, String pathName)
at Pivotal.MetadataLoader.PivotalMetadataLoader.LoadMetadata(Object system, String path)
====================
HRESULT = 0x80131509 -- Unknown error
Function = CRSystemBase::LoadGenericMetadata
Occurred in RSysBaseLoad.cpp on line 6158.
Compiled on Jun 2 2017, modified on Fri Jun 2 06:26:59 2017.
====================
HRESULT = 0x80131509 -- Unknown error
Function = CRSystemBase::InitMetaInfo
Occurred in RSysBaseInit.cpp on line 1820.
Compiled on Jun 2 2017, modified on Fri Jun 2 06:26:59 2017.
====================
HRESULT = 0x80131509 -- Unknown error
Function = CRSystemBase::Init
Occurred in RSysBaseInit.cpp on line 826.
Compiled on Jun 2 2017, modified on Fri Jun 2 06:26:59 2017.
====================
Unable to load system 'Offline'.
HRESULT = 0x80131509 -- Unknown error
Function = CRLogin::GetValidSystem
Occurred in RLogin.cpp on line 310.
Compiled on Jun 2 2017, modified on Fri Jun 2 06:26:59 2017.
Error from Pivotal Event:
[System Name: Offline]
Unable to load system 'Offline'.
Cannot load metadata using UxClient.Metadata.Activities.UxRecordLinkCollectionBuilder.
====================
Cannot load metadata using UxClient.Metadata.Activities.UxRecordLinkCollectionBuilder.
Pivotal.DataAccess: Unable to find the column 'Record_Link.Office_Ordinal'.
at Pivotal.DataAccess.DataSetBuilder.GetSql(DbSchemaType dbSchemaType, TableSpec tableSpec, DbParameterCollection parameters, String sqlComment)
at Pivotal.DataAccess.DataSetBuilder.BuildDataSet(DbSchemaType dbSchemaType, DataSpec dataSpec, String sqlComment)
at Pivotal.MetadataLoader.PivotalMetadataLoader.LoadMetadataType(MetadataService metaService, DataSetBuilder dsBuilder, String assemblyName, String className)
at Pivotal.MetadataLoader.PivotalMetadataLoader.LoadMetadataFromPath(MetadataService metaService, DataSetBuilder dsBuilder, String pathName)
--- End of inner exception stack trace ---
Pivotal.MetadataLoader: Cannot load metadata using UxClient.Metadata.Activities.UxRecordLinkCollectionBuilder.
at Pivotal.MetadataLoader.PivotalMetadataLoader.LoadMetadataFromPath(MetadataService metaService, DataSetBuilder dsBuilder, String pathName)
at Pivotal.MetadataLoader.PivotalMetadataLoader.LoadMetadata(Object system, String path)
====================
HRESULT = 0x80131509 -- Unknown error
Function = CRSystemBase::LoadGenericMetadata
Occurred in RSysBaseLoad.cpp on line 6158.
Compiled on Jun 2 2017, modified on Fri Jun 2 06:26:59 2017.
====================
HRESULT = 0x80131509 -- Unknown error
Function = CRSystemBase::InitMetaInfo
Occurred in RSysBaseInit.cpp on line 1820.
Compiled on Jun 2 2017, modified on Fri Jun 2 06:26:59 2017.
====================
HRESULT = 0x80131509 -- Unknown error
Function = CRSystemBase::Init
Occurred in RSysBaseInit.cpp on line 826.
Compiled on Jun 2 2017, modified on Fri Jun 2 06:26:59 2017.
====================
Unable to load system 'Offline'.
HRESULT = 0x80131509 -- Unknown error
Function = CRLogin::GetValidSystem
Occurred in RLogin.cpp on line 310.
Compiled on Jun 2 2017, modified on Fri Jun 2 06:26:59 2017.
Environment
Pivotal Client 6.5.3.1
Root Cause
An incomplete upgrade is causing the error.
Resolution
- Restore Pivotal Toolkit 6.5.3.1 RDF to the customization system's Business Module (BM).
- Perform an ACC (Apply Customization Changes).
- Open Pivotal Toolkit for the customization system so that the BM upgrade can complete. The new .rdf file can be found on the installation package in the path:\TK6.5.3HF1\Customization Modules
- Accept the Upgrade Business Module option.
- Reboot the Business Server and when ready, reopen it.
Validation
Once the upgrade is completed, the error message no longer appears.
Priyanka Bhotika
Comments