c# - decoupled WMI Provider for Windows Service -
i had wmi provider , because of design constraints, add decoupled provider windows service (ws). following simple steps like:
- in windows service solution in vs, have added wmi provider project.
- set hosting model hostingmodel = managementhostingmodel.decoupled
- change setup project ws such output dll of provider copied c:\prog...\xyz folder during installation
i want decoupled provider work before (all class instances same before - no behavior change). both provider , ws written in c#. have not done registration of provider in ws - need (if yes, how?)?
however, when try enumerate class through powershell following error: fullyqualifiederrorid : hresult 0x80041016,microsoft.management.infrastructure.cimcmdlets.getciminstancecommand
also, when viewing through process explorer, can see provider dll shown in process ws.
why getting error?
Comments
Post a Comment