When running the Structural Synchronizer Viewer, or attempting to run an ISM Create Repository or New from Repository action the following error can occur.
Exception has been thrown by the target of an invocation.(System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Previous IsmStructurePropertyCatalog initialization failed. ---> System.Exception: Failed to find Bentley Structure Property Catalog server ---> System.Exception: SpcConnection.Connect() returned null at Bentley.Structural.Ism.ApiImp.IsmExceptionHelper.Throw(Exception exception) at Bentley.Structural.Ism.ApiImp.IsmSpc.InternalInitialize() --- End of inner exception stack trace --- at Bentley.Structural.Ism.ApiImp.IsmExceptionHelper.Throw(Exception exception) at Bentley.Structural.Ism.ApiImp.IsmSpc.InternalInitialize() at Bentley.Structural.Ism.ApiImp.IsmSpc..cctor() --- End of inner exception stack trace --- at Bentley.Structural.Ism.ApiImp.IsmExceptionHelper.Throw(Exception exception) at Bentley.Structural.Ism.ApiImp.IsmSpc.EnsureInitialized() at Bentley.Structural.Ism.ApiImp.IsmTableSection..ctor(IECInstance ecInstance, IsmModel ismModel).
Exception has been thrown by the target of an invocation.(System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Previous IsmStructurePropertyCatalog initialization failed. ---> System.Exception: Failed to find Bentley Structure Property Catalog server ---> System.Exception: SpcConnection.Connect() returned null
at Bentley.Structural.Ism.ApiImp.IsmExceptionHelper.Throw(Exception exception)
at Bentley.Structural.Ism.ApiImp.IsmSpc.InternalInitialize()
--- End of inner exception stack trace ---
at Bentley.Structural.Ism.ApiImp.IsmSpc..cctor()
at Bentley.Structural.Ism.ApiImp.IsmSpc.EnsureInitialized()
at Bentley.Structural.Ism.ApiImp.IsmTableSection..ctor(IECInstance ecInstance, IsmModel ismModel).
or
First check if the Bentley Property Catalog Service is running. If not, set it Automatic and Start it.
If that does not work, or the service is not listed:
Here is a copy of a screenshot of possible versions of SPC Server and the Structural Catalogs that you might see.