KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q167281: XADM: Err Msg: Error Encountered Accessing Registry Keys/Values

Article: Q167281
Product(s): Microsoft Exchange
Version(s): WinNT:4.0,5.0
Operating System(s): 
Keyword(s): kbusage
Last Modified: 01-MAY-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Exchange Server, versions 4.0, 5.0 
-------------------------------------------------------------------------------

SYMPTOMS
========

When you run EDBUTIL.EXE /D or EDBUTIL.EXE /R and you use the registry switches
of /DS, /IS, /ISPRIV, or /ISPUB to specify the location for the database, the
following error message may appear:

  Error encountered accessing registry keys/values for specified
  Exchange store.

  Operation terminated with error -1907

CAUSE
=====

This error occurs when EDBUTIL is running on a computer other than the one
Microsoft Exchange Server is installed on. When you run EDBUTIL /R, the registry
switches /DS or /IS must be used to specify the database name. Thus, if you want
to use the registry switches to specify the database name, you must run EDBUTIL
/R from the Exchange Server computer.

WORKAROUND
==========

To run EDBUTIL /D or EDBUTIL /D /R on a non-Exchange Server computer:

- Explicitly specify the database path and name after the /D switch, as in the
  following example:

  EDBUTIL /D c:\exchsrvr\dsadata\dir.edb

  When you run EDBUTIL with both the /D and the /R switch, the database path and
  name must be placed after the /D switch and before the /R switch, as in the
  following example:

  EDBUTIL /D c:\exchsrvr\mdbdata\priv.edb /R

CAUTION: Running EDBUTIL can remove damaged data that might be required for the
operation of the service and might not be recoverable. Always back up the
original database file before running Edbutil.

======================================================================
Keywords          : kbusage 
Technology        : kbExchangeSearch kbExchange500 kbExchange400 kbZNotKeyword2
Version           : WinNT:4.0,5.0

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.