Error HRESULT E_FAIL has been returned from a call to a COM component. when running console application

717
1
02-20-2018 01:04 PM
JoseSanchez
Occasional Contributor III

Hello everyone,

I am getting this error message after copying my ArcGIS 10.4 VS 2015 console application to the server development.

Error HRESULT E_FAIL has been returned from a call to a COM component.

Help!!!

0 Kudos
1 Reply
JoseSanchez
Occasional Contributor III

Found the problem.

The SDE connection string was using a different account in the development server and in my desktop.

Very generic error, not easy to find. I had to all Console.Writeline  in several places in the source code to find the issue.

0 Kudos