S
SenthilVel
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
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