If you made the app, why didn't you write the error to the event log
so you'd know exactly what the issue is. It is undoubtedly
a permissions issue. It could be the folder to write to,
could be permission to run the app, or a permission
to use something you've referenced.
Typically, people would write the relevant business logic
in its own assembly that could either be called directly
in the web app or the console app.
The notion that you are purposely triggering a console
app confuses me. I can only assume that you want to
fire and forget. Wouldn't a windows service that
reacts to messages in a message queue be a
more stable implementation of this?
--
Robbe Morris - 2004/2005 Microsoft MVP C#
http://www.masterado.net
"Phil" <ph**********@googlemail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
I've made a command line app. two in fact. one in dotnet and the other
vb6 to see if that made a dif. The commandline app writes to a file.
this works fine when I run it from windows. If I run it from my ASP.NET
Web app e.g.:
Dim oWShell
oWShell = CreateObject("WScript.Shell")
oWShell.Run("C:\JaXpeak\app.exe arg1 arg2", 1, True)
And it creates the file , but fails to write anything in it.
Please help, I'm going nuts.
I'm sure its a permissions thing, but what I have no idea. Tried lots
of faffing in the .NET Framwork admin. Given all relevant directories
read and write access for web users. Even given Everthing fulltrust.
Please help.