Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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

Posted on 2008-11-18
Medium Priority
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 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!

Best regards,
Steven Bruneel
Question by:Steven_Bruneel
  • 3
  • 2

Author Comment

ID: 23055176

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

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

look at system log and application log.

Author Comment

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

Expert Comment

ID: 23324673
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.

Accepted Solution

Steven_Bruneel earned 0 total points
ID: 23427682
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...

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Integration Management Part 2
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

577 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