Urgent Please Help!!!!!!!!!!!

S

Sinu M Koshy

System.Diagnostics.Process process = new
System.Diagnostics.Process();
process.EnableRaisingEvents = false;
process.StartInfo.FileName = "c:/MacroTemp/makfile.exe";
process.StartInfo.Arguments = headerFile +" "+ outputFile;
process.Start();
process.WaitForExit();

The above code is not working in an asp.net web
application. Can some one help. It is very urgent.
Pleaseseeeeeeeeee!
Thanks in advance.
Sinu
 
S

stoitchko

are you sure that the file name is correct
may be it should be "c:\\MacroTemp\\makfile.exe";
Or Server.MapPath("makfile.exe");
and do you have permissions to execute this file
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top