Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 16985

Forum Post: OpenPlant - Error "Unable to create a connection using the schema defined in OPM_Primary_Schema ..."

$
0
0
Hi, Since yesteraday, I am getting the error below. I reduced it to the follwing line of code: Bentley.ECSystem.Repository.RepositoryConnection c = BMECApi.Instance.Connection; and I also checked that OPM_PRIMARY_SCHEMA  is set as to OpenPlant_3D.01.04 as is on all working machines Any idea: MessageBox error "OpenPlant Modeler was unable to create a connection using the schema defined by the OPM_PRIMARY_SCHEMA configuration variable. The following exception was encountered: Object reference not set to an instance of an object. OpenPlant Modeler will exit" Stack Trace: at Bentley.DGNECPlugin.DgnECPluginAddIn.GetMdlDesc()    at Bentley.DGNECPlugin.DgnECPersistenceProvider..ctor()    at Bentley.DGNECPlugin.DgnECPersistenceProvider.GetInstance()    at Bentley.DGNECPlugin.DgnECRepositoryConnectionProvider.OpenAppropriateModel(RepositoryConnection connection, DgnECConnectionOptions options, RepositoryIdentifier repositoryIdentifier, String filePath, String modelName, IExtendedParameters extendedParameters)    at Bentley.DGNECPlugin.DgnECRepositoryConnectionProvider.Open(ECSession session, String location, ConnectionInfo connectionInfo, IExtendedParameters extendedParameters)    at Bentley.ECSystem.Repository.RepositoryConnectionServiceInProcess.Open(ECSession session, String pluginID, String location, ConnectionInfo connectionInfo, IExtendedParameters extendedParameters)    at Bentley.Building.Mechanical.Api.BMECApi.CrdddeateConnection()    at Bentley.Building.Mechanical.Api.BMECApi.get_Connection()    at CreazioneVolumi.CreazioneVolumiForm.button4_Click_1(Object sender, EventArgs e)

Viewing all articles
Browse latest Browse all 16985

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>