Running application (*.exe) from WebService code

  • Thread starter Grishagin Alexander V.
  • Start date
G

Grishagin Alexander V.

Help needed!

I can't run other application (for ex., c:\pr
files\app.exe) from code of my Web Service. The following
code doesn't work in WebService, but gratly work in
WinForms app:

{
....
System.Diagnostics.Process.Start("c:\\pr
files\\app.exe");
....
}

How can i do that?

Is it a IIS security polycy?
Or what?

Thanks if any answers'll be sent to my e-mail
(e-mail address removed)
 
A

Arthur Nesterovsky

Hi,
Is it a IIS security polycy?
Or what?

This is ASPNET user rights restriction.
Try to grant access on the folder where your exe-file stored
to this user account.

Also take a look at the following topic in MSDN
"ASP.NET Impersonation".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top