I need to transform an docx file to pdf file format.
the conversion must be executed server side only
i have the following exception (found in the windoiws event logs) :
Start failed! Startxref not found. (log: before new
Aspose.Pdf.Generator.Pdf();after new Aspose.Pdf.Generator.Pdf();before new
Aspose.Pdf.Document(temp)
Aspose.Pdf.Generator.Pdf();after new Aspose.Pdf.Generator.Pdf();before new
Aspose.Pdf.Document(temp)
my c# code :
Document doc = new Document(Server.MapPath("/in.docx"));
string outFile = Path.Combine(Path.GetTempPath(), “out.pdf”);
doc.Save(outFile);
in attachments, the docx file and pdf result
the transformation is good.
the problem is “just” the exception
thanks a lot for your help
regards