This project has moved and is read-only. For the latest updates, please go here.

If you need to troubleshoot the conversion, it's possible to capture the silent error messages.
This library use the classic tracing mechanism of .Net Framework. You can easily select where to store the log (flat file, xml file, console, ...)
If you need further explanation how the tracing API works, you can consult this post on the BCL team blog.

Enable Tracing

In the app.config/web.config, add this snippet:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.diagnostics>
    <sources>
      <source name="html2openxml"
              switchValue="Error">
        <listeners>
          <add name="text" type="System.Diagnostics.TextWriterTraceListener" initializeData="error.log" />
        </listeners>
      </source>
    </sources>
  </system.diagnostics>
</configuration>

Trace Level

The switchValue can have these values:

Error: log any silent errors that occurs such as downloading images or reading base64 images.
Verbose: Error + processed tags

Last edited Apr 22, 2014 at 9:44 AM by onizet, version 4