Symptoms

When you try to run one of the update scenarios in the Database Maintenance (98.290.00) screen in Microsoft Dynamics SL, you receive one of the following error messages:



Message 1

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.



Retrieving the COM class factory for component with CLSID

[A440BD76-CFE-4D46-AB1F-15F238437A3D] failed due to the following error: 80040154.

Message 2

Run-time Error 429 'Active X Component Cannot Create Object'

Retrieving the COM class factory for component with CLSID {10020200-E260-11CF-AE68-00AA004A34d}

Cause

1. This problem occurs because the SQLDMO.dll file is not registered on the local computer.


2. This problem occurs because the Capicom.dll file is not registered on the local computer.

Resolution

Use one or more of the following resolutions, as appropriate for your situation.

Resolution 1

Manually register the SQLDMO.dll file. To do this, follow these steps:

  1. Locate the SQLDMO.dll file on the local computer. By default, this file is in the c:\Program Files\Microsoft SQL Server\MSSQL\80\Tools\Binn folder.

  2. Right-click the SQLDMO.dll file, and then click Open With.

  3. In the Windows dialog box, click Select the program from a list, and then click OK.

  4. In the Open With dialog box, click Browse.

  5. Locate and then open the following folder:
    SystemDrive :\Windows\System32.

  6. Double-click the Regsvr32.exe file, and then click OK.

  7. Click OK when you receive the following message:

    RegSvr32 - DllRegisterServer in SQLDMO.dll succeeded.

Note If you cannot register the SQLDMO.dll file, or there is no SQLDMO.dll file in the Binn directory, go to "Resolution 3."


Resolution 2

  1. Locate the CAPICOM.dll file on the local computer. By default, this file is in the SystemDrive :\Windows\System32.

  2. Right-click the CAPICOM.dll file, and then click Open With.

  3. In the Windows dialog box, click Select the program from a list, and then click OK.

  4. In the Open With dialog box, click Browse.

  5. Locate and then open the following folder: SystemDrive :\Windows\System32.

  6. Double-click the Regsvr32.exe file, and then click OK.

  7. Click OK when you receive the following message:

    RegSvr32 - DllRegisterServer in CAPICOM.dll succeeded.


Note If you cannot register the SQLDMO.dll file, or there is no SQLDMO.dll file in the directory, go to "Resolution 4."

Resolution 3

If you cannot register the SQLDMO.dll file, or there is no SQLDMO.dll file in the Binn directory, this may indicate that the Binn directory is incomplete. If this is the case, copy the Binn directory from a working workstation, and replace the Binn directory on the workstation that receives the error. Then run resolution 1.

If no other workstations are available from which you can copy the Binn directory, please contact Microsoft Dynamics SL support for help with rebuilding your Binn directory.


Resolution 4

If you cannot register the CAPICOM.dll file or the file is missing, please go to the server or another working machine copy the CAPICOM.dll file from that source and paste it onto the workstation were the error was given. Then run resolution 2.

If no other workstations are available from which you can copy CAPICOM.dll, please contact Microsoft Dynamics SL support for help with retrieving your CAPICOM.dll file.

Note Normal chargeability policies apply if a support case is initiated.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×