jhanson@md-911.com

Problem Registering ArcGIS Engine License

Discussion created by jhanson@md-911.com on Dec 13, 2011
Latest reply on Jan 31, 2012 by nazereh
After using RuntimeManager.Bind as            ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Engine)

we try to get the IApplication for ArcGIS Engine with the following code:
            Dim t As Type = Type.GetTypeFromProgID("esriFramework.AppRef")
            Dim obj As System.Object = Activator.CreateInstance(t)
            Dim m_pApplication As ESRI.ArcGIS.Framework.IApplication = obj   'New ESRI.ArcGIS.Framework.AppRef

but we keep getting an exception:

Retrieving the COM class factory for component with CLSID {E1740EC5-9513-11D2-A2DF-0000F8774FB5} failed due to the following error: 80040111 ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE)).

We've upgraded the app from 9.3 to 10.0 and I have used ESRIRegAsm.exe but to no avail.  Has anyone else encountered this or have a possible solution?

Outcomes