Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > ASPX pages :Starting and Stopping Windows services running in remote Systems

Reply
Thread Tools

ASPX pages :Starting and Stopping Windows services running in remote Systems

 
 
SenthilVel
Guest
Posts: n/a
 
      08-10-2004
Hi

Requirement:::: starting /Stopping windows servcies running in remote
servers.

I used the System.ServiceProcess.ServiceController namespace ....
this is working fine when i run my code in a windows application .
i can access the remote systems, services start and Stop it..

But when i use the code to start /Stop the service in a aspx page i get an
error like:

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.ComponentModel.Win32Exception: Access is denied


So what must i do in settings or in permission levels so that i can run the
service start/stop code in ASPX pages??

since my windows application works well, what am i missing in my ASPX pages?
where must i give the security rights ?


Help needed.
,,,,
Senthil


 
Reply With Quote
 
 
 
 
Guest
Guest
Posts: n/a
 
      01-18-2005


> Hi
>
> Requirement:::: starting /Stopping windows servcies running in remote
> servers.
>
> I used the System.ServiceProcess.ServiceController namespace ....
> this is working fine when i run my code in a windows application .
> i can access the remote systems, services start and Stop it..
>
> But when i use the code to start /Stop the service in a aspx page i get an
> error like:
>
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code.
>
> Exception Details: System.ComponentModel.Win32Exception: Access is denied
>
>
> So what must i do in settings or in permission levels so that i can run the
> service start/stop code in ASPX pages??
>
> since my windows application works well, what am i missing in my ASPX pages?
> where must i give the security rights ?
>
>
> Help needed.
> ,,,,
> Senthil
>
>


User submitted from AEWNET (http://www.aewnet.com/)
 
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
Ruby, net-ssh, running an application on remote systems. lance.sanchez@gmail.com Ruby 2 03-14-2007 10:38 PM
Voip PBX,Private Phone Systems,PBX Telephone Systems, Business Phone Systems broadbandera@gmail.com UK VOIP 9 07-24-2006 03:44 PM
passing variables from .aspx.cs code pages to .aspx pages RadioSignal ASP .Net Web Controls 7 10-21-2005 11:41 PM
Running aspx pages on 1&1, signed library and master pages Carl Gilbert ASP .Net 1 07-08-2005 06:58 PM
stopping windows services Bart Nessux Python 3 08-26-2004 06:17 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57