?
Solved

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

Posted on 2016-09-20
8
Medium Priority
?
179 Views
Last Modified: 2016-10-29
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.
0
Comment
Question by:Shanmugam Rajagopal
  • 4
  • 3
7 Comments
 
LVL 30

Expert Comment

by:Randy Downs
ID: 41808795
Try debug System.Runtime.InteropServices.COMException (break) or running  Visual Studio as Administrator
0
 
LVL 30

Expert Comment

by:Randy Downs
ID: 41831886
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
0
 
LVL 2

Accepted Solution

by:
Shanmugam Rajagopal earned 2000 total points (awarded by participants)
ID: 41831879
Its not running VS as administrator issue. I always open VS as administrator. After talking with vendor its expecting license for this function. This functions cannot be opened externally in separate programs.
1
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Author Comment

by:Shanmugam Rajagopal
ID: 41831887
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.
0
 
LVL 30

Expert Comment

by:Randy Downs
ID: 41831987
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.
0
 
LVL 2

Author Comment

by:Shanmugam Rajagopal
ID: 41837733
Please suggest how to delete this question?
0
 
LVL 30

Expert Comment

by:Randy Downs
ID: 41865039
Since this is a licensing issue, there are no points awarded.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question