Rank: Newbie Groups: Member
Joined: 9/25/2013 Posts: 1
|
Hello,
I recently downloaded EO.Total 2013.0.20
I referenced EO.Web and EO.Pdf in my aspx web-forms project.
I then dragged the eo:ASPXToPDF component to one of my forms and called ASPXToPDF1.RenderAsPDF() in the code-behind on a button's click.
However, I'm just getting a server error 500 ... there is no detail ... when I debug the code, the render command can be stepped through without raising an exception.
Any ideas about how to fix this?
Thanks in advance, Nelson
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, It's normal that RenderAsPDF won't cause any error. RenderAsPDF only set a flag so that later in the page's life cycle the converter will kick in (the converter can only start convert AFTER all page contents have been rendered). In your case, you will want to make sure you get the detailed error message first. In order to get the detailed error message, you must set customError to off in your web.config: http://msdn.microsoft.com/en-us/library/h0hfz6fc(v=vs.85).aspx If you got the error message but it still does not make sense to you, please feel free to post the message and we will see what we can find. Thanks!
|