keyongtech


  keyongtech > dotnet.languages.* > dotnet.languages.csharp > 02/2007

 #1  
02-16-07, 02:03 PM
Martin Arvidsson, Visual Systems AB
Hi!

I am using a ServiceController to start and stop my service.

If i use the service localy and use the service controller it works fine.

If i install the service on my server and try to connect to the service on
that machine i get an access denied message. I am logged in as an
Administrator on the client computer.

What could be wrong, do i need to specify som credentials or what, if so
where to look for information?

Regards
Martin
 #2  
02-16-07, 05:47 PM
Laura T.
ServiceController connects to remote SCM via RPC, so you need to be
authenticated to connect.

"Martin Arvidsson, Visual Systems AB" <martin.arvidsson> ha scritto
nel messaggio news:1636
[..]
Similar Threads
ServiceController??

Howdy! I am trying to write an application that will control some services I am writing. However, in VS 2008 (VB) I don't appear to have the...

ServiceController on Vista

I have an administrative program (installed by click-once) that starts/stops a service running on the same machine. The ServiceController class can check the status of the...

ServiceController.GetServices( other pc )

Hi, On the 1.1 framework I couldn't find a solution to get a list of services from an other PC. Only a list of services on My local PC. (witch is strange i guess, as you...

ServiceController

Dim myController As ServiceController myController = New ServiceController("myWrondName") i try : if myController is nothing then messagebox.show("This service doesn't...

Behind the scenes of ServiceController????

I want to know if ServiceController is a FULL MANAGE implementation or if is really a proxy over native api's or COM. Does anybody knows? Thanks in advance


All times are GMT. The time now is 12:09 AM. | Privacy Policy