Click here to Skip to main content
15,891,704 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I have included the winnovative software dll in my mvc5 application and did all neccessary code to make it work and it works fine when i run my application or when i host my application in iis server.
But when I publish my application as a app service using azure it throws an exception as
"Could not render the HTML string. Could not render HTML string.Error HRESULT E_FAIL has been returned from a call to a COM component.."

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Winnovative.WnvHtmlConvert.HtmlConvertException: Could not render the HTML string. Could not render HTML string.Error HRESULT E_FAIL has been returned from a call to a COM component..

Please help me in resolving it.
Thanks in advance!!

What I have tried:

I even tried by replacing the wnvHtmltoPdf.dll with wnvHtmltoPdfClient.dll because when i searched the dll for azure i got this package of version 12.16 but no luck.
Posted
Updated 2-Jun-16 22:09pm
v2

1 solution

It is possible that someone on this forum has used Winnovative software, but I would think you have a better chance if you go to their support site and mail them your question.
Contact Winnovative Software Solutions[^]

And first check their code samples see if there is something you missed
Winnovative HTML to PDF Converter Demo[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900