ERROR

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.

Cause

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

    Software:
    • ArcMap 8 x

    Receive notifications and find solutions for new or common issues

    Get summarized answers and video solutions from our new AI chatbot.

    Download the Esri Support App

    Discover more on this topic

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options