Welcome Guest Search | Active Topics | Sign In | Register

System.MissingMethodException: Method not found: 'Boolean System.Threading.WaitHandle.WaitOne(Int32)' Options
ShopSetup
Posted: Friday, September 4, 2015 4:50:22 AM
Rank: Newbie
Groups: Member

Joined: 9/4/2015
Posts: 7
Hello,

Recently bought a license for EO.Pdf 2015 for .NET due to my workstation being upgraded to Windows 10, and version 2011 did not work there.

So now it works locally on my machine, but on the production server (which is old, running .NET 2.0) I get this error.

Code: C#
System.MissingMethodException: Method not found: 'Boolean System.Threading.WaitHandle.WaitOne(Int32)'.
   at EO.Internal.jh.g.a(IntPtr A_0)
   at EO.Internal.jh.g.b()
   at EO.Internal.jh.g.d()
   at EO.Internal.jh.l()
   at EO.Internal.jh.a(String[] A_0, String A_1, String A_2, String A_3, String A_4)
   at EO.Internal.gz.a(String A_0, String A_1)
   at EO.Internal.aim.e()
   at EO.Internal.aim..ctor()
   at EO.Internal.aim.a(aim A_0, List`1 A_1)
   at EO.Internal.aim.a(aa4 A_0, Boolean A_1, a35 A_2)
   at EO.Internal.aim.a(aa4 A_0, a35 A_1)
   --- End of inner exception stack trace ---
   at EO.Internal.aim.a(aa4 A_0, a35 A_1)
   at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0)
   at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options)
   at EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName, HtmlToPdfOptions options)
   at EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName)


Unfortunately, upgrading the .NET version on production is not possible here.

Through Google I have found that there are two solutions.
1. Change .WaitOne(*time*) to .WaitOne(*time*, false)
2. Upgrade the framework.

My current solution that works (but is not optimal) is to change license key and reference the new .DLLs when developing. And the change back to the old .DLL when deploying to production.

Any help?
eo_support
Posted: Friday, September 4, 2015 4:04:28 PM
Rank: Administration
Groups: Administration

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

I believe this has already been fixed in the latest build. Can you let us know which version of the DLL you are using?

Thanks!
ShopSetup
Posted: Monday, September 7, 2015 3:29:57 AM
Rank: Newbie
Groups: Member

Joined: 9/4/2015
Posts: 7
Hello,

Thanks for the reply.

I downloaded the latest installer from the Download section when i purchased the license. EO.Total.2015.2.41.0.msi

The version is: 15.2.41.0 (from the properties of the EO.Base.dll and EO.Pdf.dll.

Checking the download section shows the same version.
eo_support
Posted: Monday, September 7, 2015 11:47:12 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Thank you very much for the information. We have confirmed that this is indeed a problem. It will be fixed in our next build, which can be out as soon as later this week.
ShopSetup
Posted: Wednesday, September 9, 2015 4:36:33 AM
Rank: Newbie
Groups: Member

Joined: 9/4/2015
Posts: 7
That's good news, thank you.
eo_support
Posted: Wednesday, September 9, 2015 9:00:46 PM
Rank: Administration
Groups: Administration

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

We have posted a new build with the fix. Please see your private message for the download location.

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.