laptop and a wrench

Bug

GP.Execute method returns the error "Attempted to read or write protected memory" after a WCF service is executed.

Last Published: September 4, 2015 ArcObjects SDK for the Microsoft .NET Framework
Bug ID Number BUG-000089395
SubmittedJuly 29, 2015
Last ModifiedOctober 20, 2021
Applies toArcObjects SDK for the Microsoft .NET Framework
Version found10.2
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

1) Move service after first GP tool. (Commented line provided in the attached code) 2) Re-build project and run. 3) Both GP tools and the service should run successfully.

Steps to Reproduce

Bug ID: BUG-000089395

Software:

  • ArcObjects SDK for the Microsoft .NET Framework

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic