Link to home
Start Free TrialLog in
Avatar of Shanmugam Rajagopal
Shanmugam Rajagopal

asked on

'System.Runtime.InteropServices.COMException' occurred in ESRI.ArcGIS.Geoprocessor.dll.

I have set reference and used the name space of ESRI.ArcGIS.Geoprocessor.dll. It throws "'System.Runtime.InteropServices.COMException' occurred in ESRI.ArcGIS.Geoprocessor.dll" at the below line of code:

ESRI.ArcGIS.Geoprocessor.Geoprocessor tGp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor();


Please help if I need to make some setting changes.
Avatar of Randy Downs
Randy Downs
Flag of United States of America image

Try debug System.Runtime.InteropServices.COMException (break) or running  Visual Studio as Administrator
I've requested that this question be closed as follows:

Accepted answer: 500 points for Randy Downs's comment #a41808795

for the following reason:

This would be a good 1st step
ASKER CERTIFIED SOLUTION
Avatar of Shanmugam Rajagopal
Shanmugam Rajagopal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Shanmugam Rajagopal
Shanmugam Rajagopal

ASKER

Please suggest if there are any work around to inherit license and use this functionality outside because to test a sample we cannot tie it with ArcGIS as it takes the whole application and multiple steps.
Since it's a licensing issue you should probably ask your vendor how best to proceed. I thought maybe debugging would shed some light on the subject but it seems you have your answer.
Please suggest how to delete this question?
Since this is a licensing issue, there are no points awarded.