[Troubleshooting] Error Messages About Your License

This page in versions:

Symptom:

When you click on the Scan button on your scan page built with Dynamic Web TWAIN, you may find a watermark on the scanned images and you get one of the following errors when you read ErrorString

  1. Invalid License
  2. The current product key does not match the domain.

Cause:

For error message #1 -

The license you used to create the product key is not valid, it might be the license for a wrong edition, or you might not have copied the entire key.

For error message #2

When you generate the key, you didn't enter the domain or you enterred a wrong domain.

Solution:

Make sure you have the correct license as well as domain, then try generating a product key again. NOTE: As long as you see a watermark on the scanned image, you can be sure that there is an issue(s) with the product key.
If this article doesn't help resolve the license issue, please contact Dynamsoft support team for further assistance.

Symptom:

When you click on the Scan button on your scan page built with Dynamic Web TWAIN, you may receive one of the following errors about your license:

  1. Your License Number is empty or it's invalid
  2. The trial license for Web TWAIN ActiveX has expired
  3. The trial license for Chrome&Firefox Edition has expired

Cause:

For error message #1 -

As stated in the error message, the license(s) that generated the product key doesn't exist or is invalid. Please make sure you have generated the product key with the correct license(s).

For error message #2 or #3 -

As stated in the error message, the trial license(s) used to generate the product key has expired and you will find a watermark on the image scanned.

Solution:

Please try generating a product key again and update the value.

If this article doesn't help resolve the license issue, please contact Dynamsoft support team for further assistance.

Symptom:

When you click on the Scan button on your scan page built with Dynamic Web TWAIN, you may receive one of the following errors about your license:

  1. Your trial license for Web TWAIN has expired
  2. Your license for Web TWAIN is for the full version
  3. Your license number for Web TWAIN doesn't exist or it's invalid
  4. Your license number is empty or it's invalid

Cause:

For version 9.0, we use the ProductKey Property for license verification. If you search ProductKey as a keyword in your code, you should be able to locate the property, such as -

            if (DWObject.ErrorCode == 0) {
            DWObject.ProductKey = "88FFAA09C42D5DE******";
            }

Or, if you are using our sample code of v9.1 or later, the ProductKey value can be found at:

            var _***Param = {
            'productKey': '88FFAA09C42D5DE******',
            'containerID': 'dwtcontrolContainer',

If your ProductKey is not valid, you may receive one of the aforementioned errors.

Solution:

For error message #1 -

Literally, your current product key has expired. You can either contact our support team to extend your trial license or purchase a full license.

Then,please re-generate a valid product key and update the ProductKey property's value.

For error message #2 -

It means your product key is valid but it is for full version of Dynamic Web TWAIN. However, currently you only have the trial version installed on your machine. Please install the full version after uninstalling the trial version, and then re-generate a valid product key and update the ProductKey property's value.

For error messages #3 or #4 -

The messages indicate the ProductKey value in your code is missing or incomplete. Please try generating a product key again and update the value.

If this article doesn't help resolve the license issue, please contact Dynamsoft support team for further assistance.

Symptom:

When you generate the LPK file or run an application built with Dynamic Web TWAIN, you may receive the following error message:

Cause:

This problem may occur in the following conditions:

  1. The error occurs when entering the serial number.
  2. The error occurs when generating the LPK file.
  3. The error occurs when running a web application.
  4. The error occurs when developing a desktop application.
  5. The error occurs when running a desktop application after upgrading from the trial version to the full version.

Resolution:

The error occurs when entering the serial number in the Licensing Tool. Please double check if your serial number is of the right version and right edition.

---------------------------------------------------------------------

The error occurs when generating the LPK file. Please make sure you use the LPK file created with the full version license. If you are not sure about it, please re-create the LPK file and replace the old one on your web server. How to create a LPK file?

---------------------------------------------------------------------

The error occurs when running a web application.

First, please verify if it's a server-side issue or a client-side issue. You can try connecting to our online demo. If it works, then it should be a server-side issue.

For Server side issues:

  1. Make sure the LPK file exists on your web server and the LPKPath is correct.
  2. In the scan page, there should be an <object> tag for the License Manager object before any other <object> tags. Code:

                    <object classid = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331" VIEWASTEXT>
                        <param name="LPKPath" value="Dynamicxxx.lpk" />
                    </object>
                    
    NOTE: Here "5220cb21-c88d-11cf-b347-00aa00a28331" is the class id for the Microsoft Licensed Class Manager which is used to verify the ActiveX control's license. Internet Explorer uses this id to call the manager at runtime. Please DO NOT change this id.
    The value parameter of the <param> tag indicates the relative path of the LPK file on your web server. For example, if value="Dynamicxxx.lpk", the Dynamicxxx.lpk file should be placed in the same directory with the scan page on your web server.

    Please pay attention to the value of this parameter if you are using a case sensitive server like Tomcat.

    If you are using a Friendly URL, please place the LPK file at the root directory on your web server and then modify the value parameter to value="/Dynamicxxx.lpk"

  3. When you are using authentication, please make sure the LPK file can be accessed on the client side. To verify it, you can enter the full path of the LPK file in the address bar of your browser and see if you can open it.
  4. Make sure your LPK file is generated correctly. Please click here to check the steps on how to create a LPK file. If you are not sure whether your LPK file is valid, you can send it to support@dynamsoft.com and we will check it for you.

For Client side issues:

  1. Make sure Microsoft Licensed Class Manager 1.0 is installed in IE.
    Please click here for more information about how to install Microsoft Licensed Class Manager 1.0 on your machine.
  2. Make sure the Time/Date setting of the client machine is correct.

    Every trial LPK file has a 30-day period for evaluation. When the Time/Date of the client machine is out of the 30-day period, the LPK file will be invalid.

  3. If you have done the above steps and the problem still exists, please try deleting your browsing history at "Tools -> Delete Browsing History" or removing the Dynamsoft ActiveX files (DynamicWebTwain/DynamicWebcam/ImageCapture Suite class) which can be found at "C:\WINDOWS\Downloaded Program Files" and then refresh the web page.

------------------------------------------------------------------------------

The error occurs when developing?a desktop application. Please make sure the license in Licensing Tool is available. The Licensing Tool?can be found in the program group of Dynamsoft ActiveX control. Please click here to check the steps on how to change the license in Licensing Tool.

------------------------------------------------------------------------------

The error occurs when running a desktop application after upgrading from the trial version to the full version. After upgrading, you need to remove the ActiveX control of the trial version from the form, re-add the full control, and then rebuild your application.