We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error while creating a PDF Document

Hi,


When I am trying to create a document I am getting below error. Could anyone help on this.

new Document(HttpContext.Current.Server.MapPath("~/PDFStorage/Convert/output.pdf"))’ threw an exception of type ' ’
Data: {System.Collections.ListDictionaryInternal}
HResult: -2146233088
HelpLink: null
InnerException: null
Message: “Cross reference table or cross reference stream not found”
Source: “Aspose.Pdf”
StackTrace: " at \u0006 .\u000f \u0002()\r\n at Aspose.Pdf.PageCollection.get_Count()\r\n at Aspose.Pdf.PageCollection.\u0002()\r\n at Aspose.Pdf.Document.\u0002()\r\n at Aspose.Pdf.Document…ctor(String filename)"
TargetSite: {Boolean ()}

Could anyone help on this.

Regards,
Nithin Eate

Hi Nithin,


Thanks for contacting support.

Can you please share the code snippet, so that we can test the scenario in our environment. We are sorry for this inconvenience.