Empower yourself with PDF Conversion tools from Softinterface.

PDFConverterX FAQ

PDF Conversion OCX/DLL


Any other known bugs or Issues?

See Revision History for version to version details.  Also, Please submit a bug if you find one.

Back to Top

After conversion, the output file cannot be deleted.

Because of the threading model in ASP.Net it may be holding onto the object and not letting go. In cases like this the best thing to do is create a console application that takes command line arguments. Then you simply call it from a System.Process and it will fully let go once it is done. This is not the most fun way to handle things like this, but I have had to do it several times because of the way the threading works.

Here is an example of how he should call it:

System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.FileName = "xyz.exe";
process.StartInfo.Arguments = "args go here";
process.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
process.StartInfo.CreateNoWindow = true;
if (!process.HasExited)
Continue ;   process.Kill();
    //do nothing

It will call the process and wait for it to finish. Once it has finished the other little app will be closed. He may also want to try using the "using" statement to see if it will fully disconnect.

Back to Top