Process informatin from ASP.NET

I have developed an ASP.NET application that calls powerpoint process to create PPT slide.for the same I have written the code as hereunder to get the process, but I am getting this error on production machine

Process[] PPTInstances;

PPTInstances = Process.GetProcessesByName("POWERPNT");

Couldn't get process information from remote machine.

but in dev environment it is working fine

Please asisst.



Answer this question

Process informatin from ASP.NET

  • Suneet

    This is almost certainly a permissions issue. The ASP.NET process runs under a special account with limited permissions. If you want your ASP.NET process to be able to access process information on another machine you need to give the account permission to access that machine - obviously this has security implications.

    You are much more likely to get a fuller answer to this in the ASP.NET forums:

    http://forums.asp.net/

    Thanks,

    Ade



  • Process informatin from ASP.NET