J
Jeremy
Hello,
I have a reasonable amount of VB.net knowledge but my ASP.net skills
are in their infancy. I want to create what I assumed was not an
uncommon task that I could not accomplish in VB.net. I am attempting to
create an application that will enable me to stop and restart an
application on a remote machine. After taking the "VB.Net" approach in
an ASP.net page it became apperant that a little more is involved. I
can return a list of processes, but when I attempt to process.kill or
process.closemainwindow an exception is thrown. Note that this is
server side code, and the application I want to "kill" is on the
server. I have tried fiddling around with security..i.e. enabling
impersonation etc. to no avail.
After searching through a few threads here it appears as though ASP.net
simply cannot accomodate this functionality. And rather one should use
a web service to accomplish this.
Enough rambling...to my questions: Is it true that there is no way to
remotly restart an application with a simple ASP.net app?
If a web service is the answer does anyone know of a simple example as
I can only get web services to return values rather than perform tasks
(I have no experience here...)?
Thanks for your help!
Jeremy
I have a reasonable amount of VB.net knowledge but my ASP.net skills
are in their infancy. I want to create what I assumed was not an
uncommon task that I could not accomplish in VB.net. I am attempting to
create an application that will enable me to stop and restart an
application on a remote machine. After taking the "VB.Net" approach in
an ASP.net page it became apperant that a little more is involved. I
can return a list of processes, but when I attempt to process.kill or
process.closemainwindow an exception is thrown. Note that this is
server side code, and the application I want to "kill" is on the
server. I have tried fiddling around with security..i.e. enabling
impersonation etc. to no avail.
After searching through a few threads here it appears as though ASP.net
simply cannot accomodate this functionality. And rather one should use
a web service to accomplish this.
Enough rambling...to my questions: Is it true that there is no way to
remotly restart an application with a simple ASP.net app?
If a web service is the answer does anyone know of a simple example as
I can only get web services to return values rather than perform tasks
(I have no experience here...)?
Thanks for your help!
Jeremy