Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Mon Mar 19, 2018 1:54 pm

Hello All,

Need urgent help.

First of all, I would like to thank E-IceBlue for devloping such a useful Nuget for .Net which makes development at ease.
I am using FreeSpire.Doc as nuget for my sharepoint remote event receiver to convert word docs to pdf.

I am using freespire as the word files are not more than 3 pages and satisfies the limitations.
After deploying to Azure WebApp, I am getting error on the following step:

WordDoc.SaveToStream(memoryStream, FileFormat.PDF);

Error: A generic error occurred in GDI+

when I checked for other similar posts there are suggestions, I was asked to use the below code:

ToPdfParameterList toPdfParameterList = new ToPdfParameterList()
{
UsePSCoversion = true,
};
WordDoc.SaveToStream(memoryStream, toPdfParameterList);

But UsePSCoversion option is not available.

Awaiting for a quick response.

Regards,
Sanjay

sanjay2392
 
Posts: 3
Joined: Mon Mar 19, 2018 1:38 pm

Tue Mar 20, 2018 2:49 am

Hello Sanjay,

Thanks for your post. As the free version doesn't support the PS Conversion, you need to turn to the full version and use it.
https://www.nuget.org/packages/Spire.Doc/
If you still encounter the issue after trying, please share us with your Word file.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Tue Mar 20, 2018 5:26 am

Thanks for quick response.

So, will I not be able to use free version in azure web app to convert using savetostream ??
Please suggest me any other alternative approach if you have one.
Due to warning message we might not be able to use full version.

sanjay2392
 
Posts: 3
Joined: Mon Mar 19, 2018 1:38 pm

Tue Mar 20, 2018 6:05 am

Hello,

Thanks for your reply.
Yes, you need to turn to the full version and use PS Conversion for converting. We could send you a temporary license to remove the warning text for one month. If you need, please tell us.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Tue Mar 20, 2018 11:48 am

Hello Team,

I have used the full version Spire.doc now and deployed to azure webapp.
It is working fine but with a warning message at the top of the PDF.

I wanted to know which license should be purchased for azure solution.
Please provide us the complete price details for the license which is required for the full version and is it a permanent buy or yearly ?

awaiting for a quick response.

regards,
Sanjay

sanjay2392
 
Posts: 3
Joined: Mon Mar 19, 2018 1:38 pm

Wed Mar 21, 2018 2:39 am

Hello Sanjay,

Thanks for your inquiry.
For your situation of using our Spire.Doc on Azure webapp, Spire.Doc Pro Edition Developer OEM subscription works and it costs $2499. The payment is a one-time charge. But kindly note that our license is based on one year subscription. The 1-year subscription enables free priority support and updates for one year, after the subscription expires, you can still use the licensed version of the product, but the new releases and hotfixes are no longer available.

For more information, please click below link.
https://www.e-iceblue.com/Buy/Spire.Doc.html

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Return to Spire.Doc

cron