I'm having a very strange problem regarding a client-server application i've wrote. Let me explain the purpose of the program first:
The program is designed to show different stats of a remote server. At the moment, free disk space, cpu speed, nic speed, fan speed and server temperature are supported.
The server side uses wmi to get values for the Free disk space, Fan speed and server temperature. For the cpu and nic speed I use performance counters that can be defined in the servers settings pane.
The stats are beeing read when the server gets a command from a client (at the moment i'm using only one client) e.g., every 15min the free disk space is beeing read through WMI, every 10 sec fan speed, ... Those timers are configurable on the client side.
So basicly, the server listens for a command, gets a command $FREE from the client, executes the FreeSpace() method and sends the result back to the client who processes it further.
In total, I have two servers. One domaincontroller and one software server (SMS). On the SMS server, the server application is running stable without any problems. Thou, on my DC, the application runs fine untill after a while (read a bunch of hours) the event log is beeing spammed with following error:
Event Type: Error
Event Source: Srv
Event Category: None
Event ID: 2000
Computer: <domaincontroller name>
The server's call to a system service failed unexpectedly.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp
0000: 00040000 00540001 00000000 c00007d0
0010: 00000000 c000010a 00000000 00000000
0020: 00000000 00000000 00bd0334
This results in my domaincontroller locking up (printers not reachable, roaming profiles not reachable, ...). Not one of my client computers can connect to my DC... Does anyone has an idea what could be the source of this problem? I just find it very strange that on my software server, it works perfectly as it should.
If you need more detailed information about the program just let me know and I will reply :)
This is not a top of the top quality program, it is used for personal use.
I hope someone can point me in the right direction here. Thanks in advance!