HRESULT: 0x80010108 (RPC_E_DISCONNECTED)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gyanendar
    New Member
    • Jun 2007
    • 90

    HRESULT: 0x80010108 (RPC_E_DISCONNECTED)

    Hi ,

    I am invoking a WMI method(served by WMI provider) from managed C++ code .Sometimes I am getting Exception :

    System.Runtime. InteropServices .COMException was unhandled by user code

    Message="The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNE CTED))"

    Source="mscorli b"

    I browsed this on google without any luck.

    I found the article http://support.microso ft.com/kb/319832 , but its for Window 2000 OS.

    I am using window server 2008 R2.



    Please help.



    -Gyanendar
  • sumitgoyal76
    New Member
    • Feb 2012
    • 6

    #2
    u should put that code in try catch

    Comment

    • gyanendar
      New Member
      • Jun 2007
      • 90

      #3
      Try catch block prevent application from dying but Object states remains the same.
      Once this exception occur, no WMI method can be invoked for the Management Object .

      -Gyanendar

      Comment

      Working...