Welcome Guest Search | Active Topics | Sign In | Register

EO.ASPxToPDF Return Error Options
Sepul
Posted: Tuesday, January 15, 2013 9:18:36 PM
Rank: Newbie
Groups: Member

Joined: 1/15/2013
Posts: 5
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
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: EO.Pdf.HtmlToPdfException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.



This is my code

page.Form.Controls.Clear();

EO.Web.ASPXToPDF PDF = new EO.Web.ASPXToPDF();
GridView GridViewPDF = new GridView();

SqlCommand command = new SqlCommand(strSQL, connection);
SqlDataAdapter adapter = new SqlDataAdapter(command);
DataSet ds = new DataSet();
adapter.Fill(ds);
page.Form.Controls.Add(GridViewPDF);
page.Form.Controls.Add(PDF);
GridViewPDF.DataSource = ds;
GridViewPDF.DataBind();
PDF.RenderAsPDF("Reportname_" + rptName + "_" + DateTime.Now.ToString("ddMMMyy_HHmm") + ".pdf");

eo_support
Posted: Wednesday, January 16, 2013 9:17:59 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

This might be a bug. Your code looks fine. If you can isolate the problem into a test project and then send the test project to us, we will be happy to take a look. Please make sure the test project contains only code needed to reproduce the problem and can run independently (for example, you will have to remove your database accessing code and replace it with hardcoded data). Please let us know once you have that and we will let you know where to send the test project.

Thanks!
Sepul
Posted: Wednesday, January 16, 2013 10:23:05 PM
Rank: Newbie
Groups: Member

Joined: 1/15/2013
Posts: 5
Hi Already send u PM. Thank You
eo_support
Posted: Wednesday, January 16, 2013 11:55:13 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We need a test project that we can load, run and debug it here. Not just a test page.

Thanks!
Sepul
Posted: Thursday, January 17, 2013 3:17:30 AM
Rank: Newbie
Groups: Member

Joined: 1/15/2013
Posts: 5
Okey, Already send you attachment link

Thank You :)
eo_support
Posted: Sunday, January 20, 2013 3:30:13 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We can not run your test project because your test project uses a database. You will need to remove that.

We did notice that your test project uses a much older version of EO.Pdf. So you may want to update to the current version to see if the problem is already resolved.

Thanks!
Sepul
Posted: Monday, January 21, 2013 2:16:09 AM
Rank: Newbie
Groups: Member

Joined: 1/15/2013
Posts: 5
i update from PDF2011 to 2012 but .. return Server Error in '/MyApp' Application.
License 'xxxxxx' is not valid for this build.
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.
eo_support
Posted: Monday, January 21, 2013 9:54:28 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

You will need to upgrade your license in that case. However I suggest you to verify whether the new version solves the problem for you first. If you are interested in upgrade, please let us know your order number so that we can give you an accurate upgrade price.

Thanks!
Sepul
Posted: Tuesday, January 22, 2013 10:08:58 PM
Rank: Newbie
Groups: Member

Joined: 1/15/2013
Posts: 5
Do you mean ... i buy corrupted version... then u fixed that version in new update and i should pay for new update? is it professional services that u provide?
eo_support
Posted: Tuesday, January 22, 2013 10:15:30 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We provide a one year free upgrade after the purchase. After that period then you will need to pay in order to use the new version. The new version mostly includes new features, but it obviously it can also include bug fixes. We do not distinguish bug fixes or new features when it comes to upgrade policy. As such user can not buy a product, using it for a few years, then receive a newer version for free by claiming a bug in an early versions. We have this policy for years and the absolute majority of our users think this is reasonable because if there is something significant, they would have discovered it well before their one year free upgrade period ends and we would have already resolved it. We think this is fair for both of us.

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.