ObjectLoader issue

724
4
12-01-2013 11:26 PM
dynamicsamcom
New Contributor
Can you help me ?

I use ObjectLoader. When I initialize object ObjectLoader objLoader = new ObjectLoaderClass ();
the error is as follows:

Retrieving the COM class factory for component with CLSID {A00B572B-12D2-11D3-9F91-00C04F6BDF0E} failed due to the following error: 80040111 ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE)).

I develop on vs 2010 and Arcgis engine 10.1.

Thanks !
0 Kudos
4 Replies
AlexanderGray
Occasional Contributor III
Have you bound the application to a product?  Have you initialized a license? For that, see RuntimeManager Class and AoInitializeClass.
0 Kudos
DeniseDemone
New Contributor II
Did you find a resolution to this? I'm having the same problem. I've done the Bind and Initialize but when trying to create an ObjectLoader I receive an error.


ESRI.ArcGIS.EditorExt.IObjectLoader pObjectLoader;
pObjectLoader = new ESRI.ArcGIS.EditorExt.ObjectLoaderClass(); 


Error: Retrieving the COM class factory for component with CLSID {A00B572B-12D2-11D3-9F91-00C04F6BDF0E} failed due to the following error: 80040111.

I'm in the process of upgrading this code from 9.3.1 to 10.2.1.
0 Kudos
DeniseDemone
New Contributor II
Looks like an Engine specific issue. I changed my binding to "Desktop" and it works.
0 Kudos
NeilClemmons
Regular Contributor III
Looks like an Engine specific issue. I changed my binding to "Desktop" and it works.


The IObjectLoader interface is only available in ArcGIS Desktop.  It is not available in Engine.
0 Kudos