problem while executing exe from web app

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yoshitha

    problem while executing exe from web app

    HI

    I am calling exe (vb.net application) from web application for this i wrote

    code like this

    system.diagnosi s.process.start ("e:\...")

    i wrote above code in button click event.

    inorder to work this application i made few changes

    1. in machine.cinfig file, in <Process Model> entitity i changed on of the

    attribute username to "SYSTEM" from machine

    2. Administrative tools/services/IIS Admin Services
    double click the admin service then in LOgon tab i've checked "Allow Sevices
    TO access Desktop"

    then stop the service and then start the service.

    after making these 2 changes then my application is working.
    i've tested this application in windows 2000 professional and it is working

    but when am testing the same application windows Server 2003 it is not
    executing the exe though i made the 2 chages i said above.

    Please Can anubody tell me how to sove this problem.
    This is very urgent for me.
    Thanx in advance

    Kiran



  • deshbandhu

    #2
    RE: problem while executing exe from web app

    HI,

    I am facing the same problem.
    My web service works fine on XP but when I run the same web service in
    windows server 2003 it throws an error System. UnauthorizedAcc ess exception.

    Does windows server 2003 require some special permissions to be set in order
    to run the ASP.NET.


    Please let me know if you get any workaound for this.


    Thanks



    "Yoshitha" wrote:
    [color=blue]
    > HI
    >
    > I am calling exe (vb.net application) from web application for this i wrote
    >
    > code like this
    >
    > system.diagnosi s.process.start ("e:\...")
    >
    > i wrote above code in button click event.
    >
    > inorder to work this application i made few changes
    >
    > 1. in machine.cinfig file, in <Process Model> entitity i changed on of the
    >
    > attribute username to "SYSTEM" from machine
    >
    > 2. Administrative tools/services/IIS Admin Services
    > double click the admin service then in LOgon tab i've checked "Allow Sevices
    > TO access Desktop"
    >
    > then stop the service and then start the service.
    >
    > after making these 2 changes then my application is working.
    > i've tested this application in windows 2000 professional and it is working
    >
    > but when am testing the same application windows Server 2003 it is not
    > executing the exe though i made the 2 chages i said above.
    >
    > Please Can anubody tell me how to sove this problem.
    > This is very urgent for me.
    > Thanx in advance
    >
    > Kiran
    >
    >
    >
    >[/color]

    Comment

    Working...