When I develop the C#+AE program, I want to
The invocation of the COM component returns the error HRESULT E_fail error, and finding many solutions on the internet will not solve the problem. But the feeling should be licence problem, because I open the factor class, all can be successful no problem. But I encountered the above error when I did Tabulatearea analysis.
After determining the idea, I began to study the configuration of licence, and found my own configuration as follows:
(1) Program.cs
ESRI. ArcGIS.RuntimeManager.BindLicense (
ESRI. ArcGIS.ProductCode.EngineOrDesktop,
Licenselevel.geodatabaseupdate);
(2) The licence control properties on the main interface are configured as follows: The left side of the ArcGIS Engine Select All selected.
I selected the left as standard, right after the full selection, again debugging, OK, problem solving.