Click here to Skip to main content
15,908,111 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: selecting one row from datagrid Pin
nclauder11-Jan-07 0:41
nclauder11-Jan-07 0:41 
GeneralRe: selecting one row from datagrid Pin
Paddy Boyd11-Jan-07 0:43
Paddy Boyd11-Jan-07 0:43 
GeneralRe: selecting one row from datagrid Pin
nclauder11-Jan-07 1:13
nclauder11-Jan-07 1:13 
GeneralRe: selecting one row from datagrid Pin
Paddy Boyd11-Jan-07 1:19
Paddy Boyd11-Jan-07 1:19 
GeneralRe: selecting one row from datagrid Pin
nclauder11-Jan-07 1:29
nclauder11-Jan-07 1:29 
Questionpagging code in php like yahoo mail inbox Pin
kumar bharat bhusanam10-Jan-07 18:39
kumar bharat bhusanam10-Jan-07 18:39 
QuestionIE7 setAttribute On Dynamicly Created Elements Pin
Zane.Kellogg10-Jan-07 8:45
Zane.Kellogg10-Jan-07 8:45 
QuestionIIS - executing an external application Pin
hssaroch10-Jan-07 2:42
hssaroch10-Jan-07 2:42 
Hi,

I am building an ASP.NET(2) app and am using IIS(6) on W2K3. In one of my pages I need to call an external executable (pass it some arguments and get the result back). But when I run the webapp, the program doesn't execute. On debugging it says "Access not allowed".

I doubt it's not ASP.Net issue rather an IIS issue but am not sure. I tried almost every thing I could find through Google but no good. Any help in this regard would be highly appericiated.

Here is the code I wrote:
<br />
        Process proc = new Process();<br />
        string file = @"Bin\kuma.exe";<br />
        proc.StartInfo.FileName = file;<br />
        proc.StartInfo.Arguments = "arg1 arg2 arg3";<br />
        proc.StartInfo.UseShellExecute = false;<br />
        proc.StartInfo.RedirectStandardInput = false;<br />
        proc.StartInfo.RedirectStandardOutput = true;<br />
        proc.StartInfo.CreateNoWindow = true;<br />
        proc.Start();<br />
<br />
        /* Read proc output ... */<br />
        StreamReader output = proc.StandardOutput;<br />
        string txt = output.ReadToEnd();<br />
        Trace.Write("txt" + txt);<br />


Thanks and regards.
AnswerRe: IIS - executing an external application Pin
Marcus J. Smith10-Jan-07 2:45
professionalMarcus J. Smith10-Jan-07 2:45 
GeneralRe: IIS - executing an external application Pin
hssaroch10-Jan-07 2:51
hssaroch10-Jan-07 2:51 
GeneralRe: IIS - executing an external application Pin
TCHamilton13-Feb-09 6:22
TCHamilton13-Feb-09 6:22 
GeneralRe: IIS - executing an external application Pin
hssaroch13-Feb-09 7:32
hssaroch13-Feb-09 7:32 
QuestionWhat is wrong with ISO (8-bit ASCII)?? Pin
Leistath9-Jan-07 22:45
Leistath9-Jan-07 22:45 
AnswerRe: What is wrong with ISO (8-bit ASCII)?? Pin
Guffa9-Jan-07 23:52
Guffa9-Jan-07 23:52 
QuestionASP split function Pin
Programm3r9-Jan-07 21:47
Programm3r9-Jan-07 21:47 
AnswerRe: ASP split function Pin
Programm3r9-Jan-07 23:02
Programm3r9-Jan-07 23:02 
AnswerRe: ASP split function Pin
Guffa9-Jan-07 23:32
Guffa9-Jan-07 23:32 
QuestionClickonce deployment Pin
Sarah Jane Snow9-Jan-07 21:07
Sarah Jane Snow9-Jan-07 21:07 
QuestionHow to open Save as dialog box Pin
asprajesh9-Jan-07 19:50
asprajesh9-Jan-07 19:50 
AnswerRe: How to open Save as dialog box Pin
Bradml9-Jan-07 23:37
Bradml9-Jan-07 23:37 
AnswerRe: How to open Save as dialog box Pin
Marcus J. Smith10-Jan-07 2:27
professionalMarcus J. Smith10-Jan-07 2:27 
QuestionAtlas control in webpage Pin
Nagraj Naik9-Jan-07 19:11
Nagraj Naik9-Jan-07 19:11 
AnswerRe: Atlas control in webpage Pin
Christian Graus10-Jan-07 8:00
protectorChristian Graus10-Jan-07 8:00 
QuestionStoring path to MySQL Pin
Crash_beta9-Jan-07 18:25
Crash_beta9-Jan-07 18:25 
AnswerRe: Storing path to MySQL Pin
hiral_shah9-Jan-07 20:05
hiral_shah9-Jan-07 20:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.