IMS: Error Message: Cannot Get list of local domains

Last reviewed: March 9, 1998
Article ID: Q182228
The information in this article applies to:
  • Microsoft Commercial Internet System version 1.0 - Microsoft Internet Mail Service

SYMPTOMS

The following error message may appear in the Internet Mail Service after you select the Domains tab under the SMTP properties page or when you try to view the properties page for the POP3 service:

   Cannot get a list of local domains. Service domains cannot be
   configured.
   Check the address book name and try again.

This message is followed by two events that occur in the system log:

   Source: DBSQL
   ID: 12296
   Description:
   
   Failed to connect to database server <server name>.
   
   Description: The connection couldn’t be made. Probably the database
   server is down, or the network is broken.
   
   Action: Check the SQL database server availability and the network
   state.
   
   Source: DBSQL
   ID: 12298
   Description:
   Waiting for the connection to database type x timed out.
   
   Description: The connection to this database type is always in use.
   Probably the service hangs.
   
   Action: Check the system status. If this event happens frequently,
   please restart the service.

CAUSE

Internet Mail Service attempted to connect to the SQL\Query pipe using null credentials, and null session support is not properly configured for the SQL\Query pipe.

RESOLUTION

Ensure that the named pipe, SQL\Query, is configured for null session access on the SQL Server computer. Verify that the SQL\QUERY string exists on the SQL Server computer under the following registry key:

   \\HKEY_LOCAL_MACHINE on Local Machine
         \System
           \CurrentControlSet
             \Services
               \LanmanServer
                 \Parameters
                   \NullSessionPipes

MORE INFORMATION

Internet Mail Service runs under the Inetinfo process. Inetinfo starts in the context of the system account. When Internet Mail Service needs to query the SQL database, it uses the system account, which uses null credentials to access a SQL pipe on the SQL Server computer.

From the Microsoft Windows NT 4.0 Resource Kit:

   NullSessionPipes     REG_SZ
   
   Range: List of pipes
   
   Default: (none)
   
   List of pipes that the client is allowed to access by using the null
   session. If a pipe is not on this list, the request to access it will be
   denied. Used with RestrictNullSessionAccess and NullSessionShares.

Other causes of the aforementioned error messages are:

  1. SQL Service is not started.
2. Wrong SQL account or password was used. 3. The SQL client is configured to use the multi-protocol (RPC) lib by
   default, and the user account on the SQL Server computer has a different
   password. This scenario only occurs when the SQL Server computer is on a
   different system than the Internet Mail Service server, and one or the
   other is using a local user account.


Additional query words: Access denied
Version : 1.0
Platform : winnt
Issue type : kbprb


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.

Last reviewed: March 9, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.