laptop and a wrench

Bogue

IGPUtilities::MakeGPValueFromObject method throws an error when SDE workspace is used to set the environment, if SDE is connected using IPropertySet.

Dernière publication: August 25, 2014 ArcGIS Engine
Numéro d’ID de bogue NIM044151
EnvoiApril 10, 2009
Dernière modificationJune 5, 2024
S’applique àArcGIS Engine
Version trouvée10.0
Langue du programmeC#
Système d’exploitationWindows OS
Version du système d’exploitationXP
StatutWill Not Be Addressed

Informations supplémentaires

No Public Explanation

Solution de contournement

1. IWorkspaceFactory::OpenFromFile can be used to connect to SDE workspace. Connection file can be used to set the connection with the SDE.2. Follow the below mentioned steps to test the same.a. Comment out the IPropertyset related part of the code from the open_ArcSDE_Workspace function b. Uncomment the following line in the code IWorkspace myWsv = workspaceFactory.OpenFromFile(@"C:\Documents and Settings\pallavit\Application Data\ESRI\ArcCatalog\Connection to hpcompaq-134.sde", 0);c. Change the filepath in the above OpenFromFile method.d. And run the application again.e. It will run without any error.

Étapes pour reproduire

ID de bogue: NIM044151

Logiciel:

  • ArcGIS Engine

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement