|Hello, I recently started programming with COM Objects Catalog using C-Sharp.
In principle, everything turned out pretty simple and I managed crar COM objects, install them and make them visible from the console, register and configure some properties of automatic way.
However I am with some problems as it relates to the configuration of some properties, namely:
While I can configure the identity component, either as INTERACTIVE USER or a specific user, I could not configure the identity of the COM + application with the Auditors Local System (Local System, Local Service and Network Service)
I do this as follows:
Boolean resultado = false; ;
catalog = (ICOMAdminCatalog)new COMAdminCatalog();
applicationCollection = (ICatalogCollection)catalog.GetCollection("Applications");
applicationCount = applicationCollection.Count;
for (i = 0; i < applicationCount; i++)
application = (ICatalogObject)applicationCollection.get_Item(i);
if (application.Name == nombreApp)
application.Value["ApplicationAccessChecksEnabled"] = false;
application.Value["Identity"] = "Interactive User";
application.Value["Identity"] = txtUsuario.Text;
application.Value["Password"] = txtClave.Text;
catch (Exception ex)
resultado = false;
Can you think how to configure the Local System Account? I tell them that if IDENTITY indicated in the following:
@ "nt authority \ LocalService"
and PASSWORD "" (empty)
Everything goes well, but in reality is set to a specific user with the supplied information.
From already thank you very much!