Rank: Member Groups: Member
Joined: 2/3/2009 Posts: 28
|
Page loads fine while without this line of code ASPXToPDF1.RenderAsPDF(); once I add this line of code to the page I get the following error.
System.NullReferenceException: Object reference not set to an instance of an object. at EO.Web.Internal.by.l(String A_0) at EO.Web.ASPXToPDF.RenderAsPDF(String fileName) at EO.Web.ASPXToPDF.RenderAsPDF()
This is an UserControl page.
This section is always on the page. <%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %> <eo:ASPXToPDF ID="ASPXToPDF1" runat="server"> </eo:ASPXToPDF>
Please help.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please check whether you have caching enabled on your user control. If you do, turn the caching off.
If that's not the problem, please try to create a small test project demonstrating the problem and send the test project to us. Once we have that we will be happy to take a look. We will PM you as to where to send.
Thanks!
|