Process Question

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

    Process Question

    I have an asp.net application running on my computer (XP Pro). I would like
    to start a process but it just hangs - I can see it in task manager but
    there is no CPU action. I can run it from the command line and from a
    windows application with no problems at all.

    Dim exeArgs As String = " -sd ""Orgchart" " -y -c -NoLaunch -TaskId
    1 -CloseOnError"

    Dim psi As New ProcessStartInf o

    'psi.FileName = "Opw32.exe"
    psi.FileName = """C:\Progr am
    Files\HumanConc epts\OrgPlus\Op w32.exe"""
    psi.Arguments = exeArgs
    psi.CreateNoWin dow = True
    psi.WindowStyle = ProcessWindowSt yle.Hidden
    Process.Start(p si)

    The process has a UI that flashes for a second or two but there is no
    interaction with it. Just for the heck of it I've made the aspnet account an
    administrator on the machine and given it full rights to the folder this app
    is supposed to write to (it creates a pdf document) but still nothing. I
    tried to impersonate my own account in the web.config file. No error but the
    result was the same. Since it works in a windows app I'm thinking it must be
    some type of permissions issue but I'm stumped.

    Any thoughts are appreciated,

    Jason


Working...