Create COM-object on server in C#: ERROR: 80070776
Hello!
Trying to create COM-object on server.
code is:
Code:
var myGuid = new Guid("530A1815-820C-11D3-BBB7-008048DE406A");
var myType = Type.GetTypeFromCLSID(myGuid, some_ip, true);
ITInfoServer infsrv = (ITInfoServer)Activator.CreateInstance(myType);
// infsrv.callSomeMethod (....);
getting the error:
Quote:
Creating an instance of the COM component with CLSID {530A1815-820C-11D3-BBB7-008048DE406A} from the IClassFactory failed due to the following error: 80070776.