OLE ERRORS

OLE ERRORS

Scrap Dragon OLE Errors

OLE errors are generated when Scrap Dragon is trying to execute an external program or Active X control that Windows can’t find.   The OLE errors can occur either because Jpegger is not configured correctly on the workstation or there is an unregistered Active X control on the workstation. 

Knowing what Scrap Dragon is trying to do when the OLE error is generated is necessary to eliminate the error.

Missing JPEGger Viewer

If the OLE error occurs when you are trying to view pictures in JPEGger, then it is possible that Scrap Dragon has not been properly configured to launch the JPEGger viewer. In Scrap Dragon; Back Office; Maintenance; Setup; Local Computer Options; Imaging Tab, check that the JPEGger viewer is pointing to an existing file. The easiest way to do this is to click on the button with the 3 dots to the right of the space to enter the JPEGger viewer program and browse to the viewer program, usually C:\program files (x86)\jpegger\multiviewer.exe. 

Missing JpeggerClient

If the OLE error occurs at a point that a picture is normally taken, eg. when reading the scale, or paying a customer, then it is possible that Scrap Dragon has not been properly configured to launch the JPEGger client. In Scrap Dragon; Back Office; Maintenance; Setup; Local Computer Options; Imaging Tab, check that the jpegger client is pointing to an existing file. The easiest way to do this is to click on the button with the 3 dots to the right of the space to enter the JPEGger capture program and browse to the C:\program files(x86)\jpegger\jpeggerclient.exe file. 

Unregistered Active X Control

Running local setup while signed in as an administrator should copy and register all of the needed files.  Be sure to select the option to ‘Install OCX DLL registry tool’ during local setup. If the OLE errors continue after running local setup as an administrator, then you will have to figure out which Active X control isn't registered and then manually register it.  Identify which file isn't registered based on what activity generates the error, as follows:

Unregistered Calendar Control

If the OLE error occurs before displaying a screen with a place to enter a date and the calendar does not display when entering the date, then the calendar Active X control is not registered. Use the Manually Unregister and Reregister a control procedure below on the following files:

c:\windows\syswow64\msacal70.ocx
c:\windows\syswow64\mscomct2.ocx
c:\windows\syswow64\mscomm32.ocx

Unregistered Image Control

If the OLE error occurs before displaying a screen with a picture and the picture does not display, then the Imaging Active X control is not registered. The solution is to manually unregister and re-register the Imaging control. Use the Manually Unregister and Reregister a control procedure below on the following file:

c:\windows\syswow64\ImageEnXLibrary.ocx.

Unregistered Windows Socket Control

If the OLE error occurs when communicating with TCP/IP to EZCash or other devices, then the Windows Socket control is not registered. The solution is to manually unregister and re-register the Windows Socket control. Use the Manually Unregister and Reregister a control procedure below on the following file:

c:\windows\syswow64\mswinsck.ocx

Unregistered Secure FTP Control

If the OLE error occurs when communicating via Secure FTP, then the We Only Do Software FTP control is not registered. The solution is to manually unregister and re-register the We Only Do Software FTP control. Use the Manually Unregister and Reregister a control procedure below on the following file which is in the Dragon folder on the server:

\\servername\dragon\wodsftp.ocx

Manually Unregister And Reregister A Control using the OCX DLL registry tool

If running Local Setup doesn't eliminate the error, the solution is to manually unregister and re-register a control file.  This technique will only work if you selected the option to ‘Install OCX DLL registry tool’ during local setup.  You must be logged into the computer as an administrator. Browse to the  location of the control to register (c:\windows\system32 or c:\windows\syswow64).  Highlight the file, right click to display a menu and then left click Unregister. Do this 3 times. Each time the system will respond with ‘unregister successful’.  Then right click to display a menu and then left click Register. The system will respond with ‘Register successful’.  Repeat this procedure for each of the unregistered files. 

Manually Register A Control using the regsvr32 utility

If the OCX DLL registry tool can't register the file, the solution is to manually register the file using the windows regsvr32 utility.  At an elevated CMD prompt (run as administrator) enter the command:

regsvr32 filename

the filename must include the complete UNC path and can reference a local file or one on the server.  When issued with the -/u parameter the command will unregister the control.  The complete documentation for this command can be found at this link: