Debugging Your Services

There are several reasons why services are more difficult to debug than other processes. The first reason is that services do not have a desktop like other processes. Another reason is that services usually run using a special user account called the system account.

The System Account

The system account has special privileges that grant the account access to the file system and many other security resources. But the system account is quite limited and does not have access to any network resources. It is a null session account, and null session accounts do not have access to network resources, even if everyone was granted access to a network resource.

Finally, you cannot log on to a machine by using the system account. ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.