Srv Error 2000 (The server's call to a system service failed unexpectedly.) errors while running server application

Posted on 2008-11-18
Last Modified: 2012-06-21
Dear Experts,

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
Date:            05/11/2008
Time:            9:48:04
User:            N/A
Computer:            <domaincontroller name>
The server's call to a system service failed unexpectedly.

For more information, see Help and Support Center at
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!

Best regards,
Steven Bruneel
Question by:Steven_Bruneel
    LVL 1

    Author Comment


    I tried the server application with all the wmi processes disabled. The server did not lock up. So for as far as I know, the problem has something to do with a collision between the server application and wmi. Maybe something with permissions?

    LVL 11

    Expert Comment

    have you more error entries which are more details in the timespan of the first error message

    look at system log and application log.
    LVL 1

    Author Comment

    The problem is that I cannot say, the whole log was filled with the same errors...
    LVL 11

    Expert Comment

    can you reproduce the error?
    If yes you must edit the maximum size of the errorlog. this is possible in the properties of the log.
    LVL 1

    Accepted Solution

    It seems that I can not reproduce the error. It might have been a problem in my code thou. I noticed that for some reason, a client didnt properly disconnect from the program but reconnected to the same server instance again. Making the same client having 2 connections at once. I fixed this error and haven't seen the error again. Hope it stays that way...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now