Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Process class from a web service

Status
Not open for further replies.

aitor

Programmer
May 15, 2001
18
ES
Hi everyone,

I´m trying to launch a remote process on another PC, and for that purpose have to make use of the Process class. If I run the code below from a VB .NET Windows application there is no problem, it goes well, but if I put it into a webmethod, I get an exception ("Couldn't get process information from remote machine.", inner exception: "Access denied"), even if I try to monitor local processes!

Dim ap() As Process
ap = Process.GetProcessesByName("notepad", "MyLocalHost")

Does anyone which could be the reason? I suspect that it concerns IIS permissions, but I haven´t had any luck until now. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top