Forum Moderators: open

Message Too Old, No Replies

Prob with web app calling console app

system diagnostics.process problems

         

ang_bain

2:09 pm on Nov 22, 2009 (gmt 0)

10+ Year Member



Hi...I've got a web app where i am trying to call a console application and pass it a parameter...Its sitting on a windows server 2003 with iis 6...The web app is using forms authentication...

I've tested the console app by calling it via the cmdline and passing the param..all works fine...but when i try to pass the param via the web app using diagnostics.process it doesn't work...The web app looks like it can start the console app as I can see it in the task manager but it doesn't do anything just hangs...Im not seeing any errors anywhere...

Has anyone come accross this prob....any advice would be much appreciated...

thanks

ang_bain

3:44 pm on Nov 22, 2009 (gmt 0)

10+ Year Member



got it sorted thanks

marcel

7:40 pm on Nov 22, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi ang_bain,

Could you let us know how you sorted the problem out, hopefully it will help others.

thanks, marcel

ang_bain

3:20 pm on Nov 23, 2009 (gmt 0)

10+ Year Member



Hi...although i said i fixed the prob above..it was more of a change really...I had an async call to a webservice in the console app which was causing me heartache..i changed that to a sync call and it works...However I really would prefer to use the async method as its much faster so if anyone has any suggestions please share..

thanks
Ang