Class Not Registered Error

The Class Not Registered error occurs when a user’s machine list is out-of-date or contains old machine definitions.  Users will usually see this error immediately after updating the software to a newer build and while attempting to open the machine table.  In general, PC/POLL tries to avoid releasing a build that will cause this error, but sometimes this is unavoidable especially when a machine is still part of a beta release.  During the beta period, the general structure of a particular machine definition may be changed in order to better communicate with the register itself.  However, this change to one machine may affect the entire machine table.

The Class Not Registered error can also occur when accessing the Data/Schedules/Scripts areas. This occurs when a user creates machines, scripts, and schedules in an old version and then updates to a newer version that does not contain the same information formats as the old.  To fix this error, delete and recreate the Machine Files. If Scripts or Schedules are opened and the Class Not Registered error appears, delete the script and schedule databases to fix the error. Please note that the All Polls databases or report databases DO NOT need to be deleted! However, the user will not be able to access reports that were generated by machines that the software cannot create (either because it’s not included in the newer build or because the user's release code does not support that machine type).

Do not try to communicate, view reports, etc. when you have this error. It will result in subsequent errors.

How to Fix the Class Not Registered Error

  1. Close the software.
  2. Open Windows explorer or the My Computer area.
  3. On the C: drive there is a folder named C:\V6_TEC_DATA, C:\V6_SHARP_DATA, etc depending on the register manufacturer. Open that folder.
  4. There are three machine files in the V6 Data folder: Machine.DB, Machine.PX, and Machine.MB.  Delete these three files.
  5. The machine files are only a LINK to the user’s data—NOT the actual data.  Users will NOT lose any of their data by deleting these three files, but they will have to recreate their machine table entries. Note: If the user has a lot of machines in their machine list that they do not want to recreate, they could reinstall an older version of the software. With the older version reinstalled they should be able to open their machine list and simply delete the machine(s) that are causing the class not registered error. Or they could just run the older version and not update their system at the current time. However, the latter option is not recommend.
  6. Now go back into the software and recreate the machines.  As long as you use the SAME Program ID on the new machines as the old, the new machines will be linked to the data.  If you cannot remember the Program IDs, see the Program ID Information section.