Thanks for the quick response.
Ran on the server and got this, any ideas?
Server Error in '/' Application. --------------------------------------------------------------------------------
Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution 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: C:\Inetpub\vhosts\mysite.com\httpdocs\dwzAspPdf\PdfMake.aspx Line: 8
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] HtmlToPdf.CreatePdf.SetupParam() +3674 HtmlToPdf.CreatePdf.Create() +55 ASP.dwzasppdf_pdfmake_aspx.Page_Load(Object sender, EventArgs e) in C:\Inetpub\vhosts\mysite.com\httpdocs\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
|
|
|