I've got a web application that creates pdf docs using Aspose.PDF. When opening some (but not all) of these documents, I receive an error in Acrobat Reader 5.0.5 (and 7.0): "There was an error opening this document. The file does not exist."
To open the doc I am using the following API:
pdf.Save(outFileName + ".pdf", SaveType.OpenInAcrobat, HttpContext.Current.Response);
If I save the doc to disk then double-click, the doc is opened correctly. If I use the OpenInBrowser SaveType, the doc opens in the browser correctly. However, my requirements are that Acrobat should be opened.