Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Quick PDF Library on x64 |
Post Reply |
Author | |
ondfisk
Beginner Joined: 07 Apr 09 Status: Offline Points: 4 |
Post Options
Thanks(0)
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? |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
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 |
|
ondfisk
Beginner Joined: 07 Apr 09 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
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?
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
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 |
|
ondfisk
Beginner Joined: 07 Apr 09 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
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
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
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 |
|
Jim Sullivan
Team Player Joined: 10 Nov 05 Location: United States Status: Offline Points: 36 |
Post Options
Thanks(0)
|
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. Edited by Jim Sullivan - 13 Apr 09 at 11:03AM |
|
ondfisk
Beginner Joined: 07 Apr 09 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Yep that would be great - I'll write to the Debenu guys right away.
|
|
murdochjr
Beginner Joined: 01 Mar 09 Status: Offline Points: 6 |
Post Options
Thanks(0)
|
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. |
|
Jim Sullivan
Team Player Joined: 10 Nov 05 Location: United States Status: Offline Points: 36 |
Post Options
Thanks(0)
|
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.
|
|
murdochjr
Beginner Joined: 01 Mar 09 Status: Offline Points: 6 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions 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 |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store