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

  • Thread starter Thread starter Sinu M Koshy
  • Start date Start date
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
 
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

Back
Top