PDA

View Full Version : getting error when using third party tool on live server


travelops
05-26-2010, 01:34 PM
I am using a third party tool to convert an html page to pdf. this works fine on my local server. but when deployed on live server its giving below error. Please do the needfull

ExpertPdf.HtmlToPdf.HtmlConvertException: Could not get the metafile from url. Could not initialize the html converter object.Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
at ExpertPdf.HtmlToPdf.ImgConverter.GetMetafileFromUr l(String url, rt& htmlParseInfo)
at ExpertPdf.HtmlToPdf.PdfConverter.GetPdfFromUrlByte s(String url)
at BasePage.ConvertPageToPDF(String Url, String DownloadName, String typename) in e:\web\travelopsco\htdocs\App_Code\BasePage.cs:lin e 522

mjp
05-26-2010, 03:58 PM
It's difficult to "do the needful" when we don't know anything about the tool. When you deploy a third party tool you have to expect to do some troubleshooting.

travelops
05-27-2010, 09:09 AM
ExpertPDF is a .NET library that offers the possibility to convert your HTML to PDF on the fly. its working fine on development server but when I use it on live server it gives error


Could not initialize the html converter object.Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

Billy Shears
05-27-2010, 09:22 AM
You may want to add to your trouble shooting, the suggestion of contacting the software vendor.

I'd recommend having the software publisher review the features available for your account HERE (http://discountasp.net/features.aspx)to assess whether this third party software would have compatibility issues.

mjp
05-27-2010, 11:05 AM
http://www.html-to-pdf.net/FAQ.aspx