A
A.N.
Hi,
I implemented a simple WMI provider in C# using the instructions from MSDN.
I created a class, used the Instrumentation attributes to expose some public
values (3 values: Value, Min, Max).
The class only returns some constant values and it does nothing more.
I then put this class in a wizard generated C# service.
I started the service and I check with CIM Studio the published instances (I
publish 10 instances of this class from the service).
Now, I kept running this service and I read the instances values (Value Min
Max) from MOM 2005.
The machine running this service is Windows 2003 Server with all updates
installed.
Also, the machine running the MOM Server is Windows 2003 Server.
The problem is that the service crashes after running a period of time(is
variable, but it takes hours).
In the system log, it says that the service terminated unexpectedly.
I am using .NET 1.1.
I tried to look for similar info on internet also looked at any known issues
on microsoft.com (KB articles) (although having latest SPs installed should
had done it).
Any ideas \ hints for some debugging (with WinDbg maybe or some WMI logging)
?
Thanks.
I implemented a simple WMI provider in C# using the instructions from MSDN.
I created a class, used the Instrumentation attributes to expose some public
values (3 values: Value, Min, Max).
The class only returns some constant values and it does nothing more.
I then put this class in a wizard generated C# service.
I started the service and I check with CIM Studio the published instances (I
publish 10 instances of this class from the service).
Now, I kept running this service and I read the instances values (Value Min
Max) from MOM 2005.
The machine running this service is Windows 2003 Server with all updates
installed.
Also, the machine running the MOM Server is Windows 2003 Server.
The problem is that the service crashes after running a period of time(is
variable, but it takes hours).
In the system log, it says that the service terminated unexpectedly.
I am using .NET 1.1.
I tried to look for similar info on internet also looked at any known issues
on microsoft.com (KB articles) (although having latest SPs installed should
had done it).
Any ideas \ hints for some debugging (with WinDbg maybe or some WMI logging)
?
Thanks.