PC Review


Reply
Thread Tools Rate Thread

Re: System.Management.Instrumentation.Instance doesn't work

 
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      17th Sep 2003

"Doug" <(E-Mail Removed)> wrote in message news:0d5f01c37c5c$dda9bcf0$(E-Mail Removed)...

> It doesn't work?
>

Could you be a little more specific?

Willy


 
Reply With Quote
 
 
 
 
Doug
Guest
Posts: n/a
 
      17th Sep 2003
sure, I created a C# console application with the code
from the msdn sample mentioned - with the addition of a
Console.ReadLine() after the Publish in order to have
time to retrieve the data in the CIM for the instrumented
InstanceClass via CIM Studio. When I tested the example I
could retreive the InstanceClass in CIM Studio but the
only data present was the InstanceId and the ProcessId;
all other fields were <empty>

Thanks for your help!


>-----Original Message-----
>
>"Doug" <(E-Mail Removed)> wrote in

message news:0d5f01c37c5c$dda9bcf0$(E-Mail Removed)...
>
>> It doesn't work?
>>

>Could you be a little more specific?
>
>Willy
>
>
>.
>

 
Reply With Quote
 
 
 
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      17th Sep 2003
Doug,

Did you "uninstall" the previous version by running installutil -u?
I would suggest you would :
- run installutil /u .....
- use wbemtest.exe to check whether no traces are left in the repository (look for your provider instance in
WMINET_ManagedAssemblyProvider and WMINET_InstrumentedAssembly classes )
- and try again running installutil.

Note: I would advise to back-up the WMI repository when doing this.

Willy.


"Doug" <(E-Mail Removed)> wrote in message news:0bc701c37d1b$5ced4b30$(E-Mail Removed)...
> sure, I created a C# console application with the code
> from the msdn sample mentioned - with the addition of a
> Console.ReadLine() after the Publish in order to have
> time to retrieve the data in the CIM for the instrumented
> InstanceClass via CIM Studio. When I tested the example I
> could retreive the InstanceClass in CIM Studio but the
> only data present was the InstanceId and the ProcessId;
> all other fields were <empty>
>
> Thanks for your help!
>
>
> >-----Original Message-----
> >
> >"Doug" <(E-Mail Removed)> wrote in

> message news:0d5f01c37c5c$dda9bcf0$(E-Mail Removed)...
> >
> >> It doesn't work?
> >>

> >Could you be a little more specific?
> >
> >Willy
> >
> >
> >.
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
extracting totals from 1 work sheet to another work work sheet =?Utf-8?B?Y2o=?= Microsoft Excel Misc 2 27th Oct 2007 10:54 PM
right click wont work, restore wont work, java wont install =?Utf-8?B?am9obm55bW90aW9u?= Windows XP Help 1 17th Jan 2005 08:51 PM
file:// links won't work in XP, work in Win2000 Andrea Martin - Works MVP Windows XP Security 3 23rd Sep 2004 07:54 PM
Defrag does not work - chkdsk does not work Ville Windows XP Help 1 1st Jul 2004 09:34 PM
media player stops a IE doesnt work restore doesnt work Dave Windows XP Performance 1 23rd May 2004 10:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:10 AM.