Search Computer Help Please

Monday, January 23, 2012

Dynamics AX - Unable to create ActiveX control - CmxPhone Control solution

Common active x popup message when trying to run Microsoft dynamics ax, can be occur after new installations or after uninstalling previous versions of AX.

The error occurs because smmPhone.ocx needs to be registered on the system. SmmPhone.ocx can be located in C:\Program Files\Microsoft Dynamics Ax\Common ( other dll's and .ocx files for AX can also be found here.)

to register the dll file from command line or run

regsvr32 "C:\Program Files\Microsoft Dynamics AX\Common\smmPhone.ocx"


4 comments:

  1. Notice that the error message is for the "CmxPhone.ocx" file, but the command line fix to solve this issue is if it's missing the "smmPhone.ocx" file, so I added some detailed steps to simplify fixing this issue. See below:

    This error comes as a result of the Microsoft Dynamics File being unable to locate the CmxPhone.ocx File in this path: C:\Program Files\Microsoft Dynamics AX\Common

    To solve this error:

    1. Close Axapta

    2. Copy the “smmPhone.ocx” file from this path : C:\Program Files (x86)\Microsoft Dynamics AX\Common and paste it here: C:\Program Files\Microsoft Dynamics AX\Common

    3. Next, you rename the file to “CmxPhone.ocx”

    4. After you do this, you open the command line (cmd) and enter in this command: regsvr32 "C:\Program Files\Microsoft Dynamics AX\Common\CmxPhone.ocx"
    (Note: This command registers the file on the system)

    5. Press Enter. Open Axapta back up and the software should open without the error message popping back up.



    ReplyDelete
  2. I am having a similar issue, but instead of the phone.ocx I am trying to do the clockcontrol and calendar control for a new PC setup.

    I used the steps above, but I get an error message saying:
    the module was loaded but the call to dllRegisterServer failed with error code 0x80004005.

    Any help would be appreciated since I have more computers I will need to setup and should this issue arise I can resolve it quickly.

    Thanks!

    ReplyDelete
  3. launch cmd as administrator and copy : regsvr32 "C:\Program Files\Microsoft Dynamics AX\Common\smmPhone.ocx"

    ReplyDelete