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

Free Support Forum - aspose.com

Words saving

Hi

I am sure this is very basic…

i am trying to save words doc to the client browser. The documentation says I should be able to:
doc.Save(Response, “Report Out.doc”, ContentDisposition.Inline, Nothing)

but I do not appear to have this overlaod available??

Any ideas?

Thanks


Hi

Thank you for additional information. Most likely you are using Aspose.Words .NET 3.5 Client Profile that is why this overload of Save method is not available .NET 3.5 Client Profile excludes System.Web and therefore HttpResponse is not available. This is entirely by design. If you need to use Aspose.Words in ASP.NET application, I would recommend you use .NET 2.0 Client Profile and the following overload of Save method:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.document.save_overload_6.html

Best regards,

Thanks


That seems to make sense, perhaps I don’t understand what “Client Profile” means. I would assume that I needed to use the most recent version of .NET,

Anyway i will try .NET 2 Client profile and see what happens.

Regards

James

Hi James,

Thanks for your request. .NET 3.5 is not actually a full framework. It is built on top of .NET 2.0.

Best regards,