To start an Exe from an imeprsonated asp.net web app using CreateprocessasUser API in IIS 5 compatibilty mode in Windows 2003 Server RRS feed

  • Question

  • Hi All

    I have tried to start EXE from asp.net web app which is running in iis5 Compatibility mode in Windows 2003 server.

    When using createprocessasuser API ( calling Duplicatetokenex and then CreateprocessasUserAPI), iam getting process id  but exe not started. But if check Win32 Error - it's giving as ERROR_INVALID_owner.

    When using CreateprocesswithLogonW API, iam able to see the process in Task manager

    but I got error Application not initialized properly errror.

    i have already given most of privelges and added my user as Administrator.

    Pls assist to solve problem as it is urgent

    Wednesday, October 14, 2009 6:13 AM