laptop and a wrench

Bug

The VB.NET and C# sample code in "How to use the IGeoTransformationOperationSet methods" shows the SpatialReferenceEnvironment class being instantiated with the New keyword instead of Activator.CreateInstance; this leads to cast exception.

Last Published: August 19, 2020 ArcGIS for Desktop
Bug ID Number NIM078252
SubmittedFebruary 17, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.0
Program languageVB.Net
Operating SystemWindows OS
Operating System Version7
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Use Activator.CreateInstance() approach as done in the other C# method/<a href="http://VB.NET" target="_blank">VB.NET</a> procedure in that same SDK help document.

Steps to Reproduce

Bug ID: NIM078252

Software:

  • ArcGIS for Desktop

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