Wednesday, March 28, 2012

what is system.diagnostics.process.start("file path") in asp.net

Hi, since 2 days i am restless of the statement

system.diagnostics.process.start("cmd.exe") in asp.net.It is working fine in vb.net but where comes to asp.net it was showing nothing and after executing i found in taskmanager one task(cmd prompt) is running if you have given like cmd.exe in ur file path.So please anybody have solution share with me..Take a look here
http://support.microsoft.com/default.aspx?scid=kb;en-us;555134
Hi i had gone through that site.But i am unable to understood the below statement..i am having a administrator acount and working on server.so what might be my account?
Can u explain what the below statement means?Please ...
Give permission for ASP.NET worker process account (<localmachine>\ASPNET) to interact with desktop or allow ASP.NET worker process to run in SYSTEM account.
When using an ASP.NET application there are many different forms of authentication/authorization that can be used.
If IIS is set to anonymous access for example, then the username is ASPNET
You need to grant this account access to the folder where the files are
Did you check another Link in that article. There is one more link that will show you how to do it
http://support.microsoft.com/default.aspx?scid=kb;en-us;317012
Hi Ali,I had gone through that site also.I am not understood one point,the statement is like

"When IIS services are configured to allow interaction with the desktop, the ASPNET account does not have the correct rights to access the desktop because of the Discretionary Access Control Lists (DACLs) on the default window station and desktop. Administrators can change these DACLs, or you can run the process with an account that has permission to access these objects"

so in the above statement DACL means what,I am logging my PC as ADmin a/c so how can i change DACL.Please clarify my doubt...

0 comments:

Post a Comment