Microsoft KB Archive/182228

= XFOR: Error Message: Cannot get list of local domains =

Article ID: 182228

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Commercial Internet System 1.0 Service Pack 2

-



This article was previously published under Q182228



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.

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.

-AND-

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 RestrictNullSessAccess 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

Keywords: kbprb KB182228

-

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

© Microsoft Corporation. All rights reserved.