Error occuring when i execute Fire method of BaseEvent Class

G

Guest

I am getting following error when i am executing Fire() method of BaseEvent
Class

System.Exception: This schema for this assembly has not been registered with
WMI.
at System.Management.Instrumentation.Instrumentation.Initialize(Assembly
assembly)
at
System.Management.Instrumentation.Instrumentation.GetInstrumentedAssembly(Assembly assembly)
at System.Management.Instrumentation.BaseEvent.Fire()

KBA for the above problem is available at :
http://support.microsoft.com/kb/826368

Is it because
When you try to increase the build number or the revision number of an
instrumented assembly, you may not be able to run Windows Management
Instrumentation (WMI) events from older versions of the instrumented
assembly. When you try to run a WMI event, you may receive an error message
that is similar to the above message?

Is it a bug in microsoft product?
How can i solve this problem?

Thanks in advance,
Nisheith
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top