Hi am using the Aspose.Word component on one of our legacy systems.
It has come to light that when creating a document and writing to the response stream, the file is returned to the browser as an xml file. If I do not set the Reponse.ContentType or add a ResponseHeader in order to add a file name then the file is named “FileName.doc,”, but still has an xml icon when I get prompted to “save or open”.
If I rename any of the created files to doc then the work perfectly. I noticed the following post:
https://forum.aspose.com/t/9325
And tried the suggestions which seemed to work for the other person but seem to have no effect for me.
Thanks in advance