This project is read-only.

Error Msg

Mar 30, 2012 at 6:18 PM

"System.SystemException: Unknown formatting object ^html    at Fonet.FonetDriver.FireFonetError(String message)    at Fonet.Fo.FOTreeBuilder.StartElement(String uri, String localName, Attributes attlist)    at Fonet.Fo.FOTreeBuilder.Parse(XmlReader reader)"}

 

I am getting the above error msg executing this piece of code:

 

        'a physical xml file
        Dim xmldata As XElement = XElement.Load(Server.MapPath("~/" & attachmentPath))

        'a physical xsl file
        Dim xslfo As String = Server.MapPath("~/" & "printTemplate/patientGeneralInfo.xslt")

        'the path for the physical file
        Dim outputPath As String = Server.MapPath("~/ShareInk/outgoing/Application.pdf")

        'create the pdf
        FonetButler.PDF.Render(xmldata, xslfo, outputPath)

 

Any ideas?