Rank: Newbie Groups: Member
Joined: 8/1/2007 Posts: 5
|
Running HtmlToPdf.ConvertHtml in a loop throws exception after a few iterations
See Error below:
System.Exception: Maximum number of session reached.
at EO.Pdf.Internal.lo.c.a(hi A_0)
at EO.Pdf.Internal.lo.c.a(Byte[] A_0)
I have tried using a delay in between each call, but its not effective.
This error has become a major pain. please provide a reliable fix!
|
Rank: Newbie Groups: Member
Joined: 8/1/2007 Posts: 5
|
Adding this in the loop This helps...
Threading.Thread.Sleep(250)
but for a loop of over 100 items, its painfully slow.
Any better solutions please?
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Have you tried the latest build?
Thanks!
|