Solved

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

Posted on 2016-09-20
8
28 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:vidhyashan
  • 4
  • 3
8 Comments
 
LVL 29

Expert Comment

by:Randy Downs
Comment Utility
Try debug System.Runtime.InteropServices.COMException (break) or running  Visual Studio as Administrator
0
 
LVL 29

Expert Comment

by:Randy Downs
Comment Utility
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 1

Accepted Solution

by:
vidhyashan earned 500 total points (awarded by participants)
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Author Comment

by:vidhyashan
Comment Utility
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 29

Expert Comment

by:Randy Downs
Comment Utility
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 1

Author Comment

by:vidhyashan
Comment Utility
Please suggest how to delete this question?
0
 
LVL 29

Expert Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Introduction This article is designed to assist GIS (Geographic Information System) and GPS (Global Positioning System) developers using ESRI ArcGIS and other spatial information management systems.   For the uninitiated the concept of projectio…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now