Cannot save a doc


I'm using vs 2010. When I try to save a doc to the browser

doc.Save(Response, "MailMerge.ExecuteArray Out.doc", ContentDisposition.Inline, null);

I get an error saying the "save" method does not take 4 arguments.

Please help


Thanks for your inquiry. Most likely you are using Aspose.Words .NET 3.5 Client Profile; .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 assembly and the following overload of Save method:

Document.Save Method (HttpResponse, String, ContentDisposition, SaveOptions)

I hope, this will help.

Best Regards,