Hey guys, I was hoping someone could help me. My company just bought the Developer Edition of PDF Merge for .NET, we got the 1.1, 2.0, 3.0 and 3.5 versions with our purchase. I'm utilizing the 2.0 DLL. Originally, I developed my application with the community edition (the trial one). Now that we've gone live, I've been using the main developer DLL ones, and my merged PDFs still have the text at the top saying evaluation copy. (with the watermarket). Any idea why this would be? When I spoke to sales at ceTe, they said the developer edition would be fine for what I'm doing. That is, an application that makes use of this DLL, in-house, and installed on 20 users (not for resale).
Any idea why my merged PDF still keeps coming up as evaluation edition?
Thanks!
Todd
Still saying evaluation version???
Re: Still saying evaluation version???
Support · Aug 1, 2008Hello Todd,
Can you please tell us the exact numbers that you are seeing in the square brackets at the top of the page with the watermark like [X:X:sX] where X will be numbers. From this we can look into it further.
Thanks,
ceTe Software Support Team.
Re: Still saying evaluation version???
Forum member · Aug 1, 2008Hi, thanks! The error says: [4:0:d0]
Re: Still saying evaluation version???
Support · Aug 1, 2008Hello Todd,
This watermark number shows that the license key have not been picked up by your application. If you are adding the key through the web.config file then please make sure that you have added it to a correct web.config file. Also please double check the syntax of your web.config file.
Please try adding the key through the line of code and see if it removes the watermark.
Thanks,
ceTe Software Support Team.
Re: Still saying evaluation version???
Forum member · Aug 1, 2008Hi, thanks for the information. I'm actually using it through a Windows C# .NET 2.0 framework application (not a web app). What would I do in this respect?
Thanks!
Re: Still saying evaluation version???
Support · Aug 1, 2008Hello Todd,
You will have to embedd the license key file or you will have to license through the code.
To license the product follow the following steps:(Embedding the key file, for VS 2003)
1. Log in to the Customer Area http://www.DynamicPDF.com/CustomerArea using your Serial number.
2. Download the ceTe.Licenses.csl3 file into your projects folder.
3. Open your project up in Visual Studio.
4. In the Solution Explorer window click on the "Show All Files" icon.
5. Right click on the "ceTe.Licenses.csl3" file and go to "Include in Project".
6. Right click on the file again and go to "Properties".
7. In the Properties window, under "Build Action" change the type to "Embedded Resource".
8. Now rebuild and run your application. That should remove the watermark and register your product.
If you have VS2005 then, you can no longer embed resources.
You will have to either add the license key to the web.config file or add the license key using the line of code as shown in the Customer Area. You can also create a class library and include the .csl3 licensing file as an embedded resource and compile the DLL. Make reference to the compiled class library in your application and you will have instantiate the class once in order to license your application. The class can be instantiated in the static constructor so that it gets loaded only once.
Thanks,
ceTe Software Support Team.
Re: Still saying evaluation version???
Forum member · Aug 2, 2008Thanks guys, it worked great. I'm very pleased with the product. This was probably explained the documentation, but I was too impatient to read it. Hah...
Quick question, is there any kind of a flag that gets set when the Merge component is complete?
This is what I'm doing now:
public void MergePDFs(String strPDF1, String strPDF2, String strPDFDest)
{
MergeDocument document = MergeDocument.Merge(strPDF1, strPDF2);
document.Creator = "Miami Dolphins Ltd.";
document.Author = "Scout - Todd Jaspers";
document.Title = "Master Report";
document.Draw(strPDFDest);
}
Pretty simple, really... but I'd like to be able to pass back a Boolean to show that it's completed (or that it failed). Is there any kind of a method that tracks when it's complete? I'm just running a loop and checking for the existance of the file now (which works fine), just curious if there was something embedded.
Thanks again!
Todd
Re: Still saying evaluation version???
Support · Aug 4, 2008Hello Todd,
There is nothing in our product to find out whether the merging is a success or failure. If the merging is a failure then it will throw an error. So you can find this by using the Try-Catch block in the .NET to catch any of these erros.
Thanks,
ceTe Software Support Team.