Can anyone recommend a HTML to PDF converter (with images) that works on discountasp

Discussion in 'Hosting Services / Control Panel' started by scigoalplan, Jun 14, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,

    We currently have an option that converts html to RTF (this is useful as people with Microsoft Word).

    I was hoping to have an option that converts html to PDF. I know Supergoo won't work due to the security restrictions here (neither will ExpertPDF).

    I understand most won't work here because they use a common function which is blocked by security.

    I didn't really want to keep trying various permutations hoping to find one which works.

    So I was hoping someone knew one which already worked, so I could try that.

    Thanks.
     
  2. Thanks!


    http://ww.dotnet-reporting.com/FAQ.aspx


    I was going to try using this one. There are two questions in the FAQ. I wanted to check that I wasn't going to have trouble with DiscountASP support if I tried installing it and doing what they suggest (as these error messages appear to be quite similar to all the others ones I get using other PDF converters) and/or be wasting my time trying to get it working.


    Any thoughts?


    Q: I have deployed my application on the production server and I receive an error like this: "Could not get the metafile from url. Could not get image from url.Could not load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.."

    A: You need Microsoft.mshtml.dll on your server. You can find this dll in the Bin directory of the downloaded archive. Place it in the bin folder of your application.


    Q: I have deployed ASP.NET 2.0 application on a shared server and I receive an error like this: "Winnovative.WnvHtmlConvert.HtmlConvertException: Could not get image from url. Could not initialize the html converter object.Request failed..<O:p></O:p>"

    A: The converter needs a full trust level for your ASP.NET 2.0 application in order to correctly execute. The default trust level is full but some of the hosting providers set this to medium or lower. The trust level can be set in the Web.config of the application ( <trust level="Full"/> under the <system.web> config section ) but the hosting provider could also forbid overriding the trust level from the web site configuration file.
     
  3. Sigh.... No, this one doesn't work here either. Quite frustrating.


    Could not get the metafile from url. Could not initialize the html converter object.Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
     
  4. Having tried 4 different versions, none of which will work on discountasp due to trust issues, I managed to get one working using PHP4.


    Not something I really wanted, given that we have moved from PHP to NET, but beggars can't be choosers.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page