GeoMedia Discussions

Search for an answer, post a question, or answer other users' questions in our GeoMedia support discussions. This discussion board is a great way to collaborate with industry peers around the world. It is intended for discussion and support of the GeoMedia Desktop and Add-on applications.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
New Member
Posts: 1
Registered: ‎06-30-2020

GM2020Update1 throw exception in CreateInstance

Hello,

 

Installation Update1 to GeoMedia2020 (16.6.0.1200) causes error in code:

 

Type gmType = Type.GetTypeFromProgID("GeoMedia.Application", true);

object ob = Activator.CreateInstance(gmType); //throw exception:

 

Access Denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Creating an instance of the COM component with CLSID {2645D1D1-E161-11D2-BFA6-006008A629D9} from the IClassFactory failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

 

In GeoMedia2020 (16.6.0.544) everything is alright.

 

Any idea?