laptop and a wrench

Bug

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

Last Published: August 25, 2014 ArcGIS Engine
Bug ID Number NIM044151
SubmittedApril 10, 2009
Last ModifiedJune 5, 2024
Applies toArcGIS Engine
Version found10.0
Program languageC#
Operating SystemWindows OS
Operating System VersionXP
StatusWill Not Be Addressed

Additional Information

No Public Explanation

Workaround

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.

Steps to Reproduce

Bug ID: NIM044151

Software:

  • ArcGIS Engine

Get notified when the status of a bug changes

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