Process Question

J

Jason MacKenzie

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 ProcessStartInfo

'psi.FileName = "Opw32.exe"
psi.FileName = """C:\Program
Files\HumanConcepts\OrgPlus\Opw32.exe"""
psi.Arguments = exeArgs
psi.CreateNoWindow = True
psi.WindowStyle = ProcessWindowStyle.Hidden
Process.Start(psi)

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
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top