Print Page | Close Window

Quick PDF Library on x64

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1056
Printed Date: 25 Jun 25 at 5:51PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Quick PDF Library on x64
Posted By: ondfisk
Subject: Quick PDF Library on x64
Date Posted: 07 Apr 09 at 11:04AM
I have an ASP.NET application written in C# which is deployed to a Windows Server 2008 x64.
I use the ActiveX Quick PDF Library C# wrapper for the application.
It all runs fine on my test machine (running the 32-bit developer server from Visual Studio 2008), but when I deploy it to the production server I get some strange error messages like:

Value cannot be null.

Parameter name: ptr

and

The type initializer for 'PdfComponents.PdfToImage' threw an exception.

Has anyone got the library to run in a x64 environment?




Replies:
Posted By: Ingo
Date Posted: 07 Apr 09 at 4:36PM
Hi!

There's no real problem working with a 32-bit-dll in an 64-bit-environment. The registration and home-directory (not system32!) is a bit different. Please use the search function (above in the menu here) with "64". There are already postings about this fact.

Cheers, Ingo


Posted By: ondfisk
Date Posted: 07 Apr 09 at 4:44PM
That sounds cool - I've tried to search for "64" in the forum - but it just gives me the error "One or more of your search criteria is below 3 characters" - x64 and 64-bit return no results - can you me anywhere?


Posted By: Ingo
Date Posted: 11 Apr 09 at 5:34PM
Hi!

So what to do...? Changing your search could be good ;-)
Have a look here:
http://www.quickpdf.org/forum/forum_posts.asp?TID=624
http://www.quickpdf.org/forum/forum_posts.asp?TID=814&KW=bit
http://www.quickpdf.org/forum/forum_posts.asp?TID=735&KW=bit

Cheers, Ingo


Posted By: ondfisk
Date Posted: 12 Apr 09 at 4:23AM
Thanks for the update - I've already found those posts - but as it says in one of posts there's no 64-bit compiler for Delphi and I've tried the various settings in IIS7 - setting it to 32-bit a so on, but to no avail.
It seems I'll have to sit tight until a 64-bit compiler is released for Delphi.
 
Cheers, R


Posted By: Ingo
Date Posted: 12 Apr 09 at 6:08AM
Hi!

There's no need to wait - you can use a fantastic free 64-bit-compiler ...
FreePascal (comes with a 32- and 64-bit version) in combination with Lazarus (for the delphi-feeling).

Cheers, Ingo


Posted By: Jim Sullivan
Date Posted: 13 Apr 09 at 11:01AM
That would be fantastic if someone could compile it.  Are the Debenu people here on the forum?  Could there be an official 64-bit release from them?
 
I have gotten IIS to run in 32-bit mode on a 64-bit server and the library (ActiveX version under ASP.NET) seems to work fine.


Posted By: ondfisk
Date Posted: 14 Apr 09 at 3:46AM
Yep that would be great - I'll write to the Debenu guys right away.


Posted By: murdochjr
Date Posted: 15 Apr 09 at 10:59PM
Hey,

I have quick PDF running on Windows Server 2008 without issue, using the the standard 32bit activeX DLL

Here is how:
- Open IIS Manager
- Click on "Application Pools"
- Click on the name of the application pool that is running the quick PDF website
- Click "Advanced Settings"
- Set "Enable 32-bit applications" to True

Done!

If you are not doing so already I find its best to run all sites under there own application pool.

Let me know how you get on.




Posted By: Jim Sullivan
Date Posted: 16 Apr 09 at 1:48PM

Doesn't that switch all of IIS into 32-bit mode?  I think that I tried that and then SQL Server Reporting Services stopped working, because that needed IIS to run in 64-bit mode.

Unfortunately I don't have my 64-bit server running right now.


Posted By: murdochjr
Date Posted: 17 Apr 09 at 8:39PM
No, its set that application domain to allow 32-bit only, this is why you want to run each site in their own application domain, you would also want to run SQL Reporting Services in its own application domain.

If everything runs in the same application domain you run the risk on one site crashing / error taking down the entire application domain, hence all your sites.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk