Microsoft KB Archive/272092

= Error Messages Occur When You Install Commerce Server and SQL Data Directory Contains Unattached MDF/LDF Files =

Article ID: 272092

Article Last Modified on 10/24/2003

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition
 * Microsoft Commerce Server 2000 Standard Edition

-



This article was previously published under Q272092



SYMPTOMS
When you install Commerce Server, the following error messages may occur:

Commerce Server 2000 WARNING: A failure occurred in ExecTSQLCommand on d:\cs40\private\cs40\...\database.cpp:603. The error description is: Execution of the TSQL command &quot;CREATE DATABASE MSCS_Admin&quot; failed with error code -2147217900.

-or-

Commerce Server 2000 WARNING: A failure occurred in CA_PRED_InstantiateResource on d:\cs40\private\cs40\setup\ca_dll\predictor.cpp:49. The error code is -2147418113, and the description is: Catastrophic failure

-or-

Commerce Server 2000 WARNING: A failure occurred in ExecTSQLCommand on d:\cs40\private\cs40\...\database.cpp:603. The error description is: Execution of the TSQL command &quot;CREATE DATABASE DirectMailer&quot; failed with error code -2147217900.

-or-

Commerce Server 2000 WARNING: A failure occurred in CA_DML_InstantiateResource on d:\cs40\private\cs40\setup\ca_dll\dml.cpp:020. The error code is -2147418113, and the description is: Catastrophic failure

-or-

Error 1705. A previous installation for this product is in progress. You must undo the changes made by that installation to continue. Do you want to undo those changes?



CAUSE
This is caused by pre-existing Mscs_admin.mdf and Mscs_admin.ldf files in the SQL\Data directory. This can occur in a dual boot situation, or if the databases are not attached at the time of installation.



WORKAROUND
To successfully install Commerce Server, delete the Mscs_admin.mdf, Mscs_admin.ldf, Directmailer.mdf, and Directmailer_log.ldf files.

Important: Before you delete the .mdf and .ldf files, verify that the databases do not exist in Microsoft SQL Enterprise Manager.

Additional query words: cs2k plutonium

Keywords: kbprb kbpending KB272092

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.