This is a collection of questions and answers about Microsoft® Content Management Server (MCMS) gathered from the MCMS newsgroup. This content is provided "AS IS" with no warranties, and confers no rights. If you have feedback about one of these topics or would like to add information, please post your comments to the MCMS newsgroup. Thank you, Stefan Goßner Escalation Engineer Steve Cawood Program Manager
My credentials are not accepted when trying to enter the system account in the Database Configuration Assistant on Microsoft Windows® XP. What could be wrong?
This is an issue with the default XP security policy. To fix it, go to your Local Computer Policy and click Computer Configuration, Windows Settings, Security Settings, Local Policy, and then Security Options.
Change the "Network access: Sharing and security model for local accounts" setting to "Classic - local users authenticate as themselves".
Where can I find a log of the Database Configuration Application (DCA)?
The default location for the DCA log is:
<system_drive>:\Program Files\Microsoft Content Management Server\LogFiles
The DCA fails with the error message: "ActiveX component can't create object" or "automation error". What could be wrong?
The DCA requires Windows Script version 5.6. This error message occurs if Windows Script 5.6 is not correctly installed.
Either reinstall Internet Explorer 6 SP1 or download Windows Script 5.6 from the following location and reinstall it: http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/733/msdncompositedoc.xml
Attention: this is necessary even if Windows Script 5.6 is already installed on the server.
When running the SCA or DCA, the following problem may be encountered:
An unknown error has occured 800700b7: Cannot create a file when that file already exists. -2147024713 (ISOK File nrvirtualWeb site.cpp, Line 2335)
MCMS is trying to create an Internet Information Services (IIS) Metabase entry that already exists.
To resolve this problem remove the NR, CMS and/or MCMS virtual directory on the Web site you are trying to set the entry point to. Then run the SCA or DCA again.
After installing a hotfix, the DCA doesn't start up anymore - we get an error saying "error '76' - Path not found". The event log then shows some sort of VB error occured. We've tried un-installing the hotfix, but that does not fix the problem.
How can we get the DCA working again without re-installing MCMS?
This is a known problem with some hotfixes if your MCMS installation path differs from the standard path C:\Program Files\Microsoft Content Management Server.
Please ensure that the following registry keys points to your MCMS installation directory:
\HKLM\Software\NCompass\CmsInstallLocation\HKLM\Software\NCompass\Resolution Content Server\dir
I am getting the following error when I run the DCA. It occurs when I click the "Select Database" button. It appears as a popup, and in the event log as a VBRuntime error. Failed to get connection string from ODBC.
Failed to get connection string from ODBC. Extended error: [What='Error in getting the ODBC connection'][LCID='1033'] [SourceFile='establishodbcconnection.cpp'][SourceFileLine='143'][DebugInfo=''][RecommendedAction=''] [ExtraInfo=''][UniqueErrorId='1'][Severity='5'][Source='NRDBHelper.dll'][CategoryId='0'] -2147352567 NRDBHelper.dll
How can I solve this problem?
There are two known reasons for this:
To assign impersonation privileges
When configuring a new MCMS database using the DCA I receive the following error:
Database creation failed[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'ID'.[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'ID'.207Microsoft SQL-DMO (ODBC SQLState: 42S22)
How can I correct this problem?
This problem can happen if the DCA is run against a SQL database that has been configured with case sensitive database collation.
MCMS only supports databases with case insensitive collation.
When the DCA is being run during the installation, I receive the following error message: "Method '~' of object '~' failed". What is the problem?
This can happen when Windows Script is not installed correctly or the latest version is not installed.
Please re-install the latest version from here: http://msdn.microsoft.com/scripting.
After running the Database Configuration Application (DCA), the database population process stops with the following error message:
Database creation failed [Microsoft][ODBC SQL Server Driver][SQL Server]Must Declare the varible @InsertedParentGuid'. -2147221367 Microsoft SQL-DMO(ODBC SQLState : 42000)
This could be caused by case-sensitive collation or locale settings on the SQL server. Ensure that you are using case-insensitive SQL Server settings.
While running the conversion from MCMS 2001 to MCMS 2002 I get the following error:
-2147217601 ('80040f3f')Rollback transaction request has no corresponding begin tran
What can be causing the problem?
This can happen when the transaction log file is full.
Extend the transaction log to increase without limit and try the upgrade again.
The DCA fails with the error "Run-time error '91' - Object variable or With block variable not set". What could be wrong?
The DCA requires Windows Script version 5.6. This error message occurs if Windows Script 5.6 is not correctly installed. Either reinstall Internet Explorer 6 SP1 or download Windows Script 5.6 from the following location and reinstall it: http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/733/msdncompositedoc.xml Attention: this is necessary even if Windows Script 5.6 is already installed on the server.
When migrating my CMS 2001 database to CMS 2002 about 12% into the upgrade it gives the fiollowing runtime error:
2147217601 (80040f3f), [microsoft] [odbc sql server driver] [sql server] The roll back transaction request has no corresponding begin transaction.
The upgrade routine tries to create a role named "CMSSystem" in the database. If a user with the same name already exists this problem occurs. To resolve the problem, open the SQL Server Enterprise Manager and go to the Users of the selected database. Delete the user named "CMSSystem". After the installation is complete you can create the account again, but it is recommended that you do not use the name "CMSSystem".
The upgrade routine tries to create a role named "CMSSystem" in the database. If a user with the same name already exists this problem occurs.
To resolve the problem, open the SQL Server Enterprise Manager and go to the Users of the selected database. Delete the user named "CMSSystem".
After the installation is complete you can create the account again, but it is recommended that you do not use the name "CMSSystem".
After upgrading to MCMS 2002 SP1, I get the following error message while running the DCA:
Error encountered applying script C:\Program Files\Microsoft Content Management Server\Server\Setup Files\SQL Install\_Sp1Upgrade.sql[Microsoft][ODBC SQL Server Driver][SQL Server]User or role 'CMSSystem' already exists in current database.-2147206481Microsoft SQL-DMO (ODBC SQLState: 42000)
What could be wrong?
When running the DCA setup I encountered a General Protection Fault (GPF). It happened in the stage "Select Database". This is repeatable on two Windows XP machines, and all patches are applied to both Microsoft Windows XP and Microsoft SQL Server™ 2000.
The machines had PGP (encryption of disks, mails etc) installed for securing project documents. Once PGP was uninstalled, and Windows Script 5.6 was reinstalled, the DCA worked.
Download Windows Script 5.6 from the following location and reinstall it: http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/733/msdncompositedoc.xml
Is there any reason why a SQL Server Database would not appear in the Database drop down list of the DCA? I've created a new Database using SQL Server Enterprise Manager and I can’t select it from the DCA because it isn't in the list.
There are 2 tasks involved when running the DCA. There are also 2 scenarios to consider.
Scenario 1 (Using trusted connection):
Scenario 2 (Using SQL Login):
Hence, the db_owner permission is needed for assigning permission to the account which performs MCMS day-to-day operations. That MCMS system account needs db_ddladmin, db_datareader & db_datawriter.
This White Paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
© 2004 Microsoft Corporation. All rights reserved.
Microsoft, ActiveX, Visual Studio, Windows, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
The names of actual companies and products mentioned herein may be the trademarks of their respective owners.