Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

"Failed to install configuration database" appears during installation of MSA of Worry-Free Business Security (WFBS) 7.0

    • Updated:
    • 13 Oct 2015
    • Product/Version:
    • Worry-Free Business Security Standard/Advanced 7.0
    • Platform:
    • Windows 2003 Enterprise
    • Windows 2003 Small Business Server
    • Windows 2003 Standard
    • Windows 2008 Enterprise
Summary

The Messaging Security Agent (MSA) uses Microsoft Data Access Components (MDAC) to create and configure database. If the MSA installer fails to query the ActiveX Data Objects (ADO) Database (DB) Component Object Model (COM) on the target machine, it will fail to create the ActiveXObject("ADODB.Connection") object.

As a result, you cannot install the MSA. Instead, you get the following error message:

Messaging Security Agent failed to install on the Exchange server server2k3

Messaging Security Agent failed to install on the Exchange server server2k3. The operation will continue until it is completed even if this window is closed. To reopen the window, click View Status from the Live Status screen."

There are also some instances when you get the error message: "Fatal error during installation.".

Details
Public

The issue is caused by the MDAC ADODB COM components which may be corrupted or not installed correctly.

To resolve the issue, do any of the following:

You will also see the following snippet from the ..\Trend Micro\Messaging Security Agent\Debug\msiexec.log:

2008/09/02 15:06:18 GMT-5:00 [06504:06292] [ db_ADOImp.cpp( 390)] DEBUG Execute: "C:\WINDOWS\System32\CMD.exe" /C ""C:\WINDOWS\System32\CScript.exe" //U //NoLogo //E:javascript "C:\Program Files\Trend Micro\Messaging Security Agent\\config\dbDatabaseCreation.js" "C:\Program Files\Trend Micro\Messaging Security Agent\config\dbconf_Conf.xml" create >> "C:\Program Files\Trend Micro\Messaging Security Agent\\SMEX_DatabaseCreation.log" 2>&1"
2008/09/02 15:06:18 GMT-5:00 [06504:06292] [ db_ADOImp.cpp( 400)] WARN !!! Failed to create process, code: 5

To resolve the issue:

  1. Go to C:\WINDOWS\system32, and look for the cmd.exe file:
     
    Make sure that the cmd.exe file owner is also the administrator. Otherwise, it will not be possible to do the procedure.
    1. Right-click the cmd.exe file, then select Properties.
    2. Click Security tab > Advanced.
    3. Click the Owner tab.
    4. Under Current owner of this item field, check the file owner.

      Advanced Security Settings for cmd.exe

  2. Right-click the cmd.exe file, and then select Properties.
  3. Click the Security tab and select Administrators.
  4. Make sure that the following permissions are set on cmd.exe:
    • Administrators - Full Control
    • System - Full Control
    • Service - Read & Execute; Read
    • Interactive - Read & Execute; Read

      cmd.exe Properties

  5. Reinstall MSA. Make sure the user is running as administrator while installing.

The following entries may appear in the \Trend Micro\Messaging Security Agent\Debug\SMEX_DatabaseCreation.log:

[CreateDatabase]MSADOX error!
Class not registered (-2147221164)

To resolve the issue:

  1. Open a command prompt, go to C:\Windows\System32 directory, and run the following commands:
    • regsvr32 msjet40.dll
    • regsvr32 msjetoledb40.dll
  2. On the command prompt, go to C:\program files\common files\system\ado\ directory and run the following commands:
    • regsvr32 msado15.dll,
    • regsvr32 msjro.dll,
    • regsvr32 msadox.dll
  3. On the command prompt, go to C:\program files\common files\msadc\and run the following commands:
    • regsvr32 msadds.dll
    • regsvr32 msdaprst.dll
    • regsvr32 msadcf.dllregsvr32 msdfmap.dll
    • regsvr32 msadco.dll
    • regsvr32 msadce.dll
  4. If .. \Trend Micro\Messaging Security Agent\SMEX_DatabaseCreation.log shows Class Doesn't Support Automation, run the following commands:
    • regsvr32 msscript.ocx
    • regsvr32 dispex.dll
    • regsvr32 vbscript.dll
    • REGSVR32 scrrun.dll
    • REGSVR32 urlmon.dll
  5. Reinstall MSA. Make sure the user is running as administrator while installing.

The following entries may appear in the \Trend Micro\Messaging Security Agent\Debug\SMEX_DatabaseCreation.log:

Automation server can't create object (-2146827859)

Run the Microsoft's Component Checker to analyze and reconfigure MDAC components installation on the target machine.

To run the MDAC Utility Component Checker:

  1. Download the tool here.
  2. Run the downloaded msi package and install on the target machine.
  3. Run the cc.exe from the installation directory.
  4. At the prompt window, select Perform analysis of your machine....
  5. Click OK, then Yes.
  6. Select Perform analysis against a selected version and choose the same version currently installed.
  7. Click OK.
  8. Click File > Save As to save the result to a file (e.g. C:\temp\result.xml).
  9. You may fix the issue by checking the result.xml file. Refer to the MDAC setup issues troubleshooting guide.
  10. Reinstall MSA. Make sure the user is running as administrator while installing.
Premium
Internal
Rating:
Category:
Troubleshoot; Install
Solution Id:
1054385
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.