Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Tue Sep 01, 2015 2:23 pm

Dear e-Iceblue,

Currently we are using your Spire.NET libraries to generate PDF documents. Within IIS7.5 on a WinServer 2008R2 it works just perfectly, we are however migrating to IIS8.5 on WinServer 2012R2.

When our software runs in a 64-bit app pool (the default settings) we're unable to generate PDF documents (if the app pool is set to 32-bit everything works like a charm though). As it has our preference to run everything 64-bit, the following question arises.

What version (if any) supports 64-bit app pools in IIS8.5 on WinServer 2012R2?

Below you'll find the stack trace we encounter.

Stack trace:

System.OverflowException: Arithmetic operation resulted in an overflow.
at System.IntPtr.ToInt32()
at Spire.Pdf.Graphics.PdfBitmap.5()
at Spire.Pdf.Graphics.PdfBitmap.2()
at Spire.Pdf.Graphics.PdfBitmap.Save()
at Spire.Pdf.Graphics.PdfBitmap.4()
at Spire.Pdf.Graphics.PdfBitmap.Save()
at Spire.Pdf.Graphics.PdfCanvas.DrawImage(PdfImage image, Single x, Single y, Single width, Single height)

Thanks in advance.

jslots
 
Posts: 48
Joined: Mon Jul 09, 2012 12:03 pm

Wed Sep 02, 2015 7:22 am

Hello,

Thanks for your inquiry.
Sorry that we don't have the version you mentioned.
Because in our product some methods call the 32-bit functions.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Wed Sep 02, 2015 8:37 am

Hello Sweety,

Thank you for the quick reply.

Ok, we will then continue to run our product within a 32-bit app pool.

jslots
 
Posts: 48
Joined: Mon Jul 09, 2012 12:03 pm

Wed Sep 02, 2015 9:20 am

Hello,

Please feel free to contact us, if you have any questions or needs. We are here for help.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Return to Spire.PDF

cron