Written by
Douglas Robar
For umbraco versions:
umbraco3.0Install and setup
A step-by-step guide to install and configure everything you need to run umbraco 3.0 on Windows Server 2003 with SQL Server 2005.
SQL Server Management Studio
- Click Start, click All Programs, click Microsoft SQL Server 2005, and click SQL Server Management Studio.
- Connect to the database server with an account that has sufficient permissions to create a new database. Contact your database system administrator if you are unsure how to log in.
- Click Connect.
- Right-click on the Databases folder, and select New Database.
- Enter a Database name.
(we’ll use ‘umbracoCMS’ in these instructions) - Leave the Owner as <default>.
- Click OK.
- Expand the Security folder.
- Right-click on the Logins folder, and select New Login.
- Select the General page:
- Enter a Login name.
(we’ll use ‘umbracoUser’ in these instructions) - Select the radio button next to “SQL Server authentication”, and enter and confirm a Password.
- Remove the check mark in the box next to “Enforce password policy”.
(note: this is optional and should not be done in a production environment)
- Select the User Mapping page:
- Place a check mark in the box next to the Database you created.
(‘umbracoCMS’ in these instructions) - Place a check mark in the boxes next to the following Database role memberships:
db_datareader
db_datawriter
db_owner
public
- Click OK.
- Right-click on the root server folder (the parent of Databases, Security, etc.), and select Properties.
- Select the Security page:
- Select the radio button next to “SQL Server and Windows Authentication mode”.
- Click OK.
Test the configuration by disconnecting and logging in as the user you just created.
- Click File, click Disconnect Object Explorer.
- Click File, click Connect Object Explorer.
- Select SQL Server Authentication, enter the name of the login user you create (‘umbracoUser’ in these instructions), and type the password you specified when you created the login user, above..
- Click Options.
- Select the Connections Properties tab.
- Select TCP/IP as the Network Protocol.
- Click Connect.
If you cannot log in with SQL Server authentication…
- Check the log files after a failed attempt.
- The default log location is C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG and can be opened with Notepad.
- Look for an entry in the ERRORLOG such as:
2007-05-16 16:43:42.75 Logon Error: 18456, Severity: 14, State: 8. - “State: 8” indicates a problem with the user password.
- You can find a list of the meaning of each state message at
http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx