Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Service Controller from Web Service

Reply
Thread Tools

Service Controller from Web Service

 
 
Tom G
Guest
Posts: n/a
 
      04-08-2004
PLEASE repost this!
It didn't get answered on the bulliten board!

Thanks!

Hello everyone.

I am currently attempting to use the service controller class to display
status and start/stop services on a box via a webservice. I have managed to
get it displaying the status, but am constantly getting an access denied
error while trying to start/stop services. I have elevated about every
permission that I can think of to get this working via the webservice and
still have no luck. Can someone help me out with a detailed explanation of
what I'm doing wrong or what I may be missing. Or if there is a better
class to use to control these services. Thank you for your help!

Tom

are you still there Larry? I've been doing complex searches and haven't
found squat. What is the 'Simple' search?


 
Reply With Quote
 
 
 
 
Tom G
Guest
Posts: n/a
 
      04-23-2004
Nevermind. I found the answer on ph2. The default WebConfig file doesn't
come with <identity> in it.
You have to add this, then set 'impersonate='true'' in order to get
permissions remotely.

Tom

"Tom G" <> wrote in message
news:#...
> PLEASE repost this!
> It didn't get answered on the bulliten board!
>
> Thanks!
>
> Hello everyone.
>
> I am currently attempting to use the service controller class to display
> status and start/stop services on a box via a webservice. I have managed

to
> get it displaying the status, but am constantly getting an access denied
> error while trying to start/stop services. I have elevated about every
> permission that I can think of to get this working via the webservice and
> still have no luck. Can someone help me out with a detailed explanation of
> what I'm doing wrong or what I may be missing. Or if there is a better
> class to use to control these services. Thank you for your help!
>
> Tom
>
> are you still there Larry? I've been doing complex searches and haven't
> found squat. What is the 'Simple' search?
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MVC Controller question - Calling one Controller from another Michael Earls ASP .Net 3 03-24-2009 02:12 AM
Promotion of Additional Domain Controller to a Domain Controller Abaaseen MCSE 9 01-19-2009 07:31 PM
SLOW response from .NET Web Service on Domain Controller Barak Turovsky ASP .Net Web Services 0 02-02-2004 09:01 AM
Re: py2exe service doesn't work, can't connect to service controller ? Brad Clements Python 3 08-24-2003 06:14 PM
py2exe service doesn't work, can't connect to service controller ? Brad Clements Python 0 08-19-2003 01:56 PM



Advertisments