Microsoft KB Archive/264106

= SMS: Error Message: &quot;A database could not be found with the name supplied&quot; =

Article ID: 264106

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition
 * Microsoft Systems Management Server 2.0 Service Pack 1

-



This article was previously published under Q264106



SYMPTOMS
When an administrator selects a machine from within the Systems Management Server (SMS) Administrator's Console to remotely control, the following message may appear:

A Database could not be found with the name supplied.



CAUSE
The Windows Management Repository files may have become corrupted. This can occur if the Smsprov.mof file is compiled on the site server while SQL and the repository are on a different machine.



WORKAROUND
To work around this behavior in Windows NT 4.0, you can remove and recompile the Windows Management Repository files. These steps should not be performed in Microsoft Windows 2000 or in later versions.

Important These steps should only be performed as a last resort when all other efforts to resolve the Repository issue have failed.

To remove and recompile these files in Windows NT, follow these steps:  Stop the Windows Management Service. Remove x:\SMS\bin\i386\smsprov.mof from:

HKLM\Software\Microsoft\WBEM\CIMOM\AutoRecoverMOFs

This line needs to be removed so the MOF is not recompiled when the repository is being rebuilt. The Smsprov.mof should not be compiled on the site server if the provider is on a separate SQL server. Delete the WBEM repository. To do this, delete all files in:

\winnt\system32\wbem\repository

 Restart the Windows Management Service.

If this procedure does not resolve the problem, you may need to reload the latest Service Pack. To do this, go to Start, Programs, System Management Server, and then SMS Setup. Next, select Upgrade. Upgrade requires the CD-ROM on your local drive. If any post-Service Pack hotfixes have been applied, it will be necessary to reapply those hotfixes again after the upgrade.



MORE INFORMATION
Windows Management (such as Microsoft's implementation of the WBEM specification) is now part of the operating system and other functions may require it. Systems Management Server 2.0 is simply a delivery mechanism for Windows Management. Thus, client removal leaves this component intact. It is also available from Microsoft as part of Windows NT 4.0 SP4, Windows 98, and Windows 2000.

For more information on Windows Management(WMI or WBEM), click the following article number to view the article in the Microsoft Knowledge Base:

216738 SMS: WMI terms and concepts

Additional query words: prodsms

Keywords: kbclient kbdatabase kbhelpdesk kbprb kbremoteprog kbserver kbsmsadmin kbsmsprovider kbwbem KB264106

-

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

© Microsoft Corporation. All rights reserved.