Yes the same issue is happening with 20.2 version as well. We have purchased the licensed version of Aspose. Now it breaks for higher versions. This is very urgent.
This is code
Presentation pres = new Presentation(Server.MapPath("/") + “Test_Template.pptx”);
pres.Save(Server.MapPath("/") + “FileLocation\Test.pptx”, Aspose.Slides.Export.SaveFormat.Pptx);.
MemoryStream ms = new MemoryStream();
ms.Position = 0;
byte[] newcontent = new byte[fis.Length];
fis.Read(newcontent, 0, newcontent.Length);
ms.Write(newcontent, 0, newcontent.Length);
fis.Close();
ms.Flush();
Response.Clear();
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = contentType;
Response.AddHeader("Content-Disposition", String.Format("Attachment; filename={0}", fileName));
MemoryStream ms = new MemoryStream(newContent);
ms.WriteTo(Response.OutputStream);
Response.Flush();
Response.Buffer = true;
HttpContext.Current.ApplicationInstance.CompleteRequest();
image.png (63.8 KB)