Running application (*.exe) from WebService code

Discussion in 'ASP .Net Web Services' started by Grishagin Alexander V., Sep 29, 2003.

  1. 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
    Grishagin Alexander V., Sep 29, 2003
    #1
    1. Advertising

  2. 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".

    --
    ______________________________
    With best wishes, Arthur Nesterovsky
    Please visit my home page:
    http://www.nesterovsky-bros.com
    Arthur Nesterovsky, Sep 30, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Namratha Shah \(Nasha\)
    Replies:
    0
    Views:
    4,681
    Namratha Shah \(Nasha\)
    Nov 5, 2004
  2. Chitra

    ASPnet_wp.exe and CSRSS.exe

    Chitra, Nov 7, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    431
    Chitra
    Nov 7, 2003
  3. Replies:
    1
    Views:
    385
    Richard Brown
    May 23, 2006
  4. Chaos
    Replies:
    1
    Views:
    403
  5. Ron Vecchi
    Replies:
    0
    Views:
    153
    Ron Vecchi
    Aug 4, 2003
Loading...

Share This Page