none
Granting FULLTRUST to System.Diagnostics.Process RRS feed

  • Question

  •  

    hi all,

    im not able to run the System.Diagnostics.Process due to securit permissions.

    i want that to run in IE.

    how do i set the Sercurity permission for accessing Process.

    can any one help..?

    Friday, March 28, 2008 12:29 PM

Answers

  • You need to mess around with code access security stuff to change permissions.  There is a tool that comes with the framework called caspol that you need to use.  Here is an article on msdn on how to use caspol.  Should be something like

     

    caspol -enterprise -addgroup 1 -url http://MyWebSite/* FullTrust

     

    http://msdn2.microsoft.com/en-us/library/w0fa60b5.aspx

     

    Friday, March 28, 2008 11:43 PM