Wednesday, December 31, 2014

ACTIVEX COMPONENT CAN'T CREATE OBJECT IN POINT OF SALE 7.9.2


Run-Time Error '429' : ActiveX Component Can't Create Object

After Successful upgradation of 7.9.2 while Open Point of Sale 7.9.2 it may the below error due to

  • Forget to register dll inside Point of Sale Folder
  • Can't Register dll due to error like failed to load dll library.
Solution

Kindly ensure all the previous versions are correctly Updated upto Meghdoot 7.9.1, if no Upgrade MM 7.9.1 first then.

  • Upgrade MM 7.9.2 Counter Database properly without error.
  • Replace all the exe and dll in Point of sale client folder.
  • Register replaced dll i.e Cash.dll and WNX.dll
In some of the windows 7 OS does not permit to register the dll due to require administrator permission.

  • Open command Prompt as Administrator.
  • Register using below command
Regsvr32 "c:\program files\Meghdoot Millennium - Point of Sale\cash.dll
Regsvr32 "c:\program files\Meghdoot Millennium - Point of Sale\WNX.dll

  •  Now you can Open Point of sale with ActiveX component Issues
Try to visit to fix dll registration issues permanently 

Dll Registration

FIXED: WINDOWS 7 DLL REGISTRATION FAILED WITH ERROR CODE 0X8002801C
Dll Registration Failed Error In Windows 7 

The module xxx.dll was loaded but the call to DllRegisterServer failed with error code 0x8002801c" while registering Dll files


Set Permissions On Library Under Your User Name In Registry Editor:


Note:Kindly take Backup Registry before going to modify the permission

Click on Start; in the start search type regedit and press Enter.
If you receive User account control prompt, click on Yes.
Go to Registry Editor (regedit) and to key HKEY_CLASSES_ROOT\TypeLib
Right click on TypeLib and select Permissions and go to the Security tab
Find out if your username is listed in the list of users, if so make sure you've Full Control/ remove restricted user from the List.
If not click on Add and type in the username. Once added make sure the user has Full Control.
Apply changes and close the registry editor.

Reboot your machine


Now Go to our DOP Software file folder to register dll without error code 0x8002801c.