J
joeted
Hello,
I am trying to run a batch file on a (remote) .NET server (i'm not the
admin) using system.diagnostics.process
I find that the batch file is successfully executed.
However, when i put <identity impersonate="true"/> in my web.config i
get an "access denied" exception.
This line in web.config is required as it was the only way (i have
successfully found) i could also write to a text file from an aspx page.
[ using StreamWriter from system.io ]
I have also tried it with and without <authentication mode="windows">
As far as I understand the impersonate=true makes the "internet guest
account" (machine\IUSR) run the process?
Any solution that would allow me to do both tasks (with or without
impersonation) would be appreciated.
I am trying to run a batch file on a (remote) .NET server (i'm not the
admin) using system.diagnostics.process
I find that the batch file is successfully executed.
However, when i put <identity impersonate="true"/> in my web.config i
get an "access denied" exception.
This line in web.config is required as it was the only way (i have
successfully found) i could also write to a text file from an aspx page.
[ using StreamWriter from system.io ]
I have also tried it with and without <authentication mode="windows">
As far as I understand the impersonate=true makes the "internet guest
account" (machine\IUSR) run the process?
Any solution that would allow me to do both tasks (with or without
impersonation) would be appreciated.