Microsoft KB Archive/889646

= &quot;Error 18456&quot; error message when you specify configuration database settings on the Set Configuration Database Server page of SharePoint Central Administration =

Article ID: 889646

Article Last Modified on 5/16/2007

-

APPLIES TO


 * Microsoft Windows SharePoint Services 3.0
 * Microsoft Windows SharePoint Services

-



SYMPTOMS
You run the Setup program to install Microsoft Windows SharePoint Services. After the Setup program is completed successfully, you configure Windows SharePoint Services settings in SharePoint Central Administration. You specify configuration database settings on the Set Configuration Database Server page of SharePoint Central Administration, and then you click OK. When you do this, you receive one of the following error messages:

Login failed for user ' \ '. (Error code: 18456).

Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. (Error code: 18456)



CAUSE
The application pool runs as a certain account. If that account does not have database creation rights in Microsoft SQL Server, this issue may occur. Specifically, this issue may occur if the account is not a member of the Security Administrators role or of the Database Creators role.



RESOLUTION
To resolve this issue, you must add an account to the Database Creators role and to the Security Administrators role in SQL Server. You add the account that the application pool is running as. To do this:  Add the account that the application pool is running as to the Security Administrators role and to the Database Creators role in SQL Server. To do this:  Start SQL Server Enterprise Manager. Expand Microsoft SQL Servers, expand the server group, expand the appropriate server, and then expand Security. Right-click Logins, and then click New Login. Type the account name in the Name box. Use the following format for the account name:

\

Note If SQL Server is installed on a separate computer and you want to run the application pool as the Network Service account, the computer that is running Windows SharePoint Services must have permissions to access the remote computer that is running SQL Server. On the remote computer that is running SQL Server, add the \ $ account to the Database Creators role and to the Security Administrators role. Click the Server Roles tab. In the Server Role list, click to select the Security Administrators check box, and then click to select the Database Creators check box. Click OK.</li> Quit SQL Server Enterprise Manager.</li></ol> </li> On the Configure Administrative Virtual Server page of SharePoint Central Administration, create a new application pool, specify the account as the application pool account, and then click OK. The Application Pool Changed page is displayed.</li> Restart Microsoft Internet Information Services (IIS). To do this, click Start, click Run, type iisreset in the Open box, and then click OK.</li> On the Application Pool Changed page, click OK. On the Set Configuration Database Server page of SharePoint Central Administration, specify the configuration database settings.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For additional information about how to install, to configure, and to administer Windows SharePoint Services, see the &quot;Microsoft Windows SharePoint Services Administrator's Guide.&quot; To do this, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=a637eff6-8224-4b19-a6a4-3e33fa13d230&displaylang=en

Additional query words: WSS WSSv3 WSSv2

Keywords: kbsetup kberrmsg kbprb kbtshoot KB889646

-

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

© Microsoft Corporation. All rights reserved.