Hi,
I am getting this exception
Unhandled Exception: System.Manageme nt.ManagementEx ception: COM object that
has been separated from its underlying RCW can not be used. --->
System.Runtime. InteropServices .InvalidC
omObjectExcepti on: COM object that has been separated from its underlying
RCW can not be used.
at System.Manageme nt.IEnumWbemCla ssObject.Clone_ (IEnumWbemClass Object&
ppEnum)
at System.Manageme nt.ManagementOb jectCollection. GetEnumerator()
--- End of inner exception stack trace ---
at System.Manageme nt.ManagementEx ception.ThrowWi thExtendedInfo( Exception
e)
at System.Manageme nt.ManagementOb jectCollection. GetEnumerator()
at frs2.frsverifie r.RemoteService Controller.Regi steredServices( ) in
e:\SDTSTLH\test src\basetest\Co re_File_Service s\FRS\FRSv2\Ver ifier\FrsVerifi e
r.cs:line 234
at frs2.frsverifie r.FrsVerifier.M ain(String[] args) in
e:\SDTSTLH\test src\basetest\Co re_File_Service s\FRS\FRSv2\Ver ifier\FrsVerifi e
r.cs:line 36
Any ideas what may be causing this. I am trying to use the enumerator of
ManagementObjec tCollection.
Kind Regards
--
Masood Siddiqi [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights
I am getting this exception
Unhandled Exception: System.Manageme nt.ManagementEx ception: COM object that
has been separated from its underlying RCW can not be used. --->
System.Runtime. InteropServices .InvalidC
omObjectExcepti on: COM object that has been separated from its underlying
RCW can not be used.
at System.Manageme nt.IEnumWbemCla ssObject.Clone_ (IEnumWbemClass Object&
ppEnum)
at System.Manageme nt.ManagementOb jectCollection. GetEnumerator()
--- End of inner exception stack trace ---
at System.Manageme nt.ManagementEx ception.ThrowWi thExtendedInfo( Exception
e)
at System.Manageme nt.ManagementOb jectCollection. GetEnumerator()
at frs2.frsverifie r.RemoteService Controller.Regi steredServices( ) in
e:\SDTSTLH\test src\basetest\Co re_File_Service s\FRS\FRSv2\Ver ifier\FrsVerifi e
r.cs:line 234
at frs2.frsverifie r.FrsVerifier.M ain(String[] args) in
e:\SDTSTLH\test src\basetest\Co re_File_Service s\FRS\FRSv2\Ver ifier\FrsVerifi e
r.cs:line 36
Any ideas what may be causing this. I am trying to use the enumerator of
ManagementObjec tCollection.
Kind Regards
--
Masood Siddiqi [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights