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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - QuickPDF on hosted web site - unlock fails
  FAQ FAQ  Forum Search   Register Register  Login Login

QuickPDF on hosted web site - unlock fails

 Post Reply Post Reply
Author
Message
kit View Drop Down
Beginner
Beginner


Joined: 21 Apr 12
Location: United Kingdom
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote kit Quote  Post ReplyReply Direct Link To This Post Topic: QuickPDF on hosted web site - unlock fails
    Posted: 21 Apr 12 at 6:02PM
Hiya,

I've written a web site which uses QuickPDF 8-14.  It's written in F# and C# and works fine running through Visual Studio 2010 on my local machine.

However when I deploy it to a hosted site (aspnethosting.co.uk), unlocking appears to fail - ie. lib.Unlocked returns 0.  I've checked that the necessary DLLs are in place and can be found; and the hosting provider states that they have no limitations on loading/executing DLLs.

I'm currently on a trial licence.

So my question is - anyone else had this problem?  Anyone got any suggesting for narrowing down the cause?

Here's the relevant code.  It's the final check which fails.

type PdfReader() =
    let dllPath = Path.Combine(assemblyDirectory, "QuickPDFDLL0814.dll")
    let lib = QuickPDFDLL0814.PDFLibrary(dllPath)
    do
        if not (File.Exists(dllPath)) then
            failwith ("Could not find QuickPDF DLL at: " + dllPath)
        lib.UnlockKey("--- my trial code ---") |> ignore
        if lib.Unlocked() = 0 then
            failwith "Unlocking of QuickPDF library failed"

Many thanks
Kit
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 12 at 1:09PM
From my experience in QPL support - problems on ASP.NET are always permissions related somehow.

Andrew.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store