Welcome Guest Search | Active Topics | Sign In | Register

ASCX control error when converting page to PDF Options
Ismael
Posted: Wednesday, August 3, 2011 3:10:15 PM
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.
eo_support
Posted: Wednesday, August 3, 2011 3:20:38 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.