Fatal when marshaling a spatial reference

Last Published: April 25, 2020

Error Message

When using IFeatureWorkspace :: CreateFeatureDataset out-of-process, you get an automation error when a new spatial reference is passed as the second parameter. You would encounter this if, for example, you create a standalone application that passes a new spatial reference via this method to a workspace object instantiated by ArcCatalog.


This is caused by a known issue in marshaling of the spatial reference. See the ArcObjects developer help for more on marshaling and out-of-process servers.

Solution or Workaround

Create the new spatial reference in the process space that doesn't require marshaling of the spatial reference.

    Article ID:000003801

    • ArcMap 8 x

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options

    Discover more on this topic