Free Support Forum - aspose.cloud

Microsoft Word Mail Merge template with Aspose.Words Cloud SDK for .NET throwing an exception

Hi,
We are planing to use Aspose.Words for cloud for .net. I have downloaded sample application from aspose site and got key’s.

System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)req.GetResponse();

This line doesn’t throw any exception with downloading application which is from aspose site

Once I implemented in my application (ASP.Net 4.0 framework) , it is throwning an exception like
'The remote server returned an error: (400) Bad Request’

can anybody help me out ASAP?


Note :
This code is not working with our .doc extension templates .we are generating mail merge documents using aspose. Merge tool and file contain images also. If i used those files which has images your sample application was throwing an exception

Thanks
Naidu

Hi Naidu,


Thanks for your inquiry. Could you please share your sample source code here in this thread? We will take a closer look and guide you accordingly. Please also try to use small size documents because using an evaluation account, you can upload files of size upto 1 MB. However, with our paid plans you can upload larger files.

Yes , may be the file size issue , I have gone through all my tested
documents which are having more than 1MB size ,those are throwing an
exception , which are having less than 1MB those are working fine

Thanks
Naidu

@valle

Please note the latest API Version V4.0 supports to process files upto 100 MB, but file size exceeding 20 MB consumes more credits. Furthermore, please note we have simplified MailMerge API in this version. Now a single API is used for Mail Merge and Mustache Template. Please check the following documentation to insert images during the Mail Merge process.

Insert Images during Mail Merge