Free Support Forum - aspose.com

Aspose.PDF auto open using IE 6 with XP+Service Pack2

Using the following code as reference:

Dim pdf As Aspose.Pdf.Pdf = New Aspose.Pdf.Pdf

pdf.BindXML(xmlDoc, Nothing)

'Instruct to delete temporary image files.

pdf.IsImagesInXmlDeleteNeeded = True

'Produce the PDF file.

pdf.Title = “Correction Letter”

pdf.Security = New Aspose.Pdf.Security

pdf.Security.IsContentsModifyingAllowed = False

pdf.Security.IsCopyingAllowed = False

pdf.OpenType = Aspose.Pdf.OpenType.Auto

pdf.Save(“Correction Letter”, Aspose.Pdf.SaveType.OpenInBrowser, Me.Response)

Me.Response.End()

I don’t have an error, but the user is prompted three times - once to open the document and again to save the document somewhere and a third time to actually open the document in the browser. The second option is very confusing to the user…even after saving the document the user is once again prompted to open or save the document. Only after choosing open after the Third popup message box does the document open in the browser.

What is the procedure to just open the document, auto open in the browser, without the second save option? Is this something that can be done in code?

Dear esteps65,

Thank you for considering Aspose.

This should due to your IE setting. I will check this issue and reply to you on detail soon.