Hi Gianluigi
Here is the error page after I addded the debug code to the web.config file. ASP.NET 2.0 amd 1.1 are both installed and running on the server. For this particular website, ASP.NET 2.0 is being selected. BTW, I am using HTML to PDF version 1.2.8.
Warning!! DwZone.it Asp HTML to PDF error: Error on Asp.Net application Url:http://www.intercountytennis.com/dwzAspPdf/PdfMake.aspx
Server Error in '/' Application. --------------------------------------------------------------------------------
Object reference not set to an instance of an object. Description: An unhandled exception occurred during the e x e c u t i o n 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: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 6: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Line 7: Dim Pdf As New HtmlToPdf.CreatePdf Line 8: Pdf.Create() Line 9: End Sub Line 10: </script>
Source File: D:\WEBSITES\INTERCOUNTYTENNIS\Broadband\dwzAspPdf\PdfMake.aspx Line: 8
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] HtmlToPdf.dwzItext.GetListItems(TagList& TagList, Int32 inizio, Boolean UseNumber, Int32& TagIndex) in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\dwzItext.vb:164 HtmlToPdf.dwzItext.GetCell(TagList& TagList, Int32 inizio, Int32& IndexEndCell, PdfPTable& Table) in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\dwzItext.vb:1020 HtmlToPdf.dwzItext.GetTable(TagList& TagList, Int32 inizio, Int32& IndexEndTable) in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\dwzItext.vb:687 HtmlToPdf.dwzItext.GetCell(TagList& TagList, Int32 inizio, Int32& IndexEndCell, PdfPTable& Table) in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\dwzItext.vb:1035 HtmlToPdf.dwzItext.GetTable(TagList& TagList, Int32 inizio, Int32& IndexEndTable) in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\dwzItext.vb:687 HtmlToPdf.dwzItext.GetCell(TagList& TagList, Int32 inizio, Int32& IndexEndCell, PdfPTable& Table) in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\dwzItext.vb:1035 HtmlToPdf.dwzItext.GetTable(TagList& TagList, Int32 inizio, Int32& IndexEndTable) in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\dwzItext.vb:687 HtmlToPdf.dwzItext.GetCell(TagList& TagList, Int32 inizio, Int32& IndexEndCell, PdfPTable& Table) in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\dwzItext.vb:1035 HtmlToPdf.dwzItext.GetTable(TagList& TagList, Int32 inizio, Int32& IndexEndTable) in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\dwzItext.vb:687 HtmlToPdf.dwzItext.CreatePdfContent(Object& pdfObject, TagList& TagList, Hashtable& StyleClass) in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\dwzItext.vb:72 HtmlToPdf.CreatePdf.Create() in F:\Lavori\_Extension\_ASP\Asp HTML to PDF\HtmlToPdf_ItextSharp\CreatePdf.vb:632 ASP.dwzasppdf_pdfmake_aspx.Page_Load(Object sender, EventArgs e) in D:\WEBSITES\INTERCOUNTYTENNIS\Broadband\dwzAspPdf\PdfMake.aspx:8 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 |
|
|