Knowledge Base

  1. Home
  2. Program Errors
  3. Class is not licensed for use
Created
Modified

Article 2722

Class is not licensed for use

Problem

You get the following error when you run a scheduled task:

Class is not licensed for use (0x80040112)

Cause

The error occurs when the license check fails. This can happen under several circumstances:

  • SmartFTP runs under a different user than the one that was used when SmartFTP was activated with the serial
  • SmartFTP is unable to reach the activation server

Solution

  • Configure and run the scheduled task under the exact same user as the one you are running SmartFTP.
  • Do NOT check the [ ] Run with highest privileges option in the task properties
  • Do NOT run SmartFTP as Administrator
  • After you have applied the serial, open the Windows Task Manager (taskmgr.exe) and kill the background SmartFTP.exe instances.
  • Make sure that SmartFTP is able to reach the activation server at Host: www.smartftp.com Protocol: HTTPS Port: 443

Keywords

Related Articles
icon How To run scheduled tasks


What do you think about this topic? Send feedback!