views:

55

answers:

0

Hi I have developed an app in C# .NET 2005. It is used to Start and Stop .NET windows services remotely. If i run this app in my local system, it works fine. It stops the windows services in other system.

The same application i put in Server and tried to stop services in another server. It is failing. The app is able to ping the other server. Impersonation is successful. But an exception is thrown when the app tries to stop the service. I really dont have any clue whats happening.

The Log file

27/11/2009 08:35:18(0): SCM PC Ping Successful 27/11/2009 08:35:18(0): Impersonation Successful 27/11/2009 08:35:18(0): Stopping Services..... 27/11/2009 08:35:22(0): Exception while stopping Service: Alerts Application Engine Exception:Cannot open Service Control Manager on computer '66.82.1.7'. This operation might require other privileges. 27/11/2009 08:35:22(0): Exception occured: Cannot open Service Control Manager on computer '66.82.1.7'. This operation might require other privileges.