Success! Summary follows,
anyone willing to host/edit the solution for newbies like me?
Ok, Thanks to everyone for the help. Kalle Wibeck had the key: hidden away in the properties of the SQL server instance is a security setting to enable SQL Server Authentication. It would be nice if someone was willing to read over the summary instructions below and see if there are any major #%!-ups here. That done, it would be nice to post it somewhere more permanent and easy to find...
Summary:
This guide will help in setting up the Express edition of Microsoft SQL Server 2005 for use with a web based cms system (here we are using Umbraco) on Windows XP, by Brian Dickens with super thanks to Kalle Wibeck and others on
http://forums.umbraco.org (the important installation point is number 15. Enable SQL Server Authentication)
Problem description:
Login/Connection problem using the Express edition of Microsoft SQL Server 2005 (SQLEXPRESS) with the following error message from the login attempt (Umbraco install wizard):
Login failed for user 'UmbracoUser'. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)
Pre-requisites:
The Express edition of Microsoft SQL Server 2005 (SQLEXPRESS) is a bundled install with Visual Studio 2005 so many people will have this SQL Server by default. It is also free to download.
The required management tool (free) -- Microsoft SQL Server Management Studio Express as well as SQLEXPRESS can be found here:
http://msdn.microsoft.com/vstudio/express/sql/download/After installing both the server and the management tool, follow the below setup sequence in order to create a database and enable a web based cms system (Umbraco) to communicate with it.
Setup:
Using Microsoft SQL Server Management Studio Express
1. Connect to SQLEXPRESS using windows authentication
2. On the Databases folder, right click and select "new database"
3. Set database name: umbracodemo (or whatever)
4. Owner: <default>
5. Click ok
6. On the Security/Logins folder, right click and select "new login"
Under General tab
7. Set login name: UmbracoUser (or whatever)
8. Select SQL Server Authentication
9. Set password and confirm password: UmbracoPwd (or whatever)
10. Deselect Enforce password policy (someone wize might intervene here, but this is my settings)
11. Set default database: master
Under User Mapping tab
12. Select the checkbox to select umbracodemo database mapped to this user
13. Under database roll membership for umbracodemo panel, select db_datareader, db_datawriter, db_owner, and public
14. Click ok
Enable SQL Server Authentication, it's disabled by default...
15. Right click the root node of your SQLEXPRESS server (parent of Databases, Security, etc) and select Properties...
16. Select Security
17. In the Server Authentication section make sure you have marked SQL Server and Windows Authentication Mode.
18. Restart the SQL Server Service by right clicking the root node again and selecting restart
19. Test the setup: File > disconnect from Object explorer, then File > connect Object explorer, this time login with SQL Server Authentication and the user and password as above, you should be able to login, if not see Trouble shooting below.
If you have been having problems with login before, I would also highly suggest that you restart the IIS server at this point too. (at least before running the Umbraso websiteWizard.umb)
Umbraco setup:
Update the connection string in your web.config file like so --
<add key="umbracoDbDSN" value="Server=.\SQLEXPRESS;Database=dbname;User ID=uid;Password=pwd;Trusted_Connection=False">
In the above connection string, SQLEXPRESS is the default instance name for the Express SQL Server. It is possible to name the instance during install, so if the above string doesn't work, check the name of the instance of your sql server using Microsoft SQL Server Management Studio Express. The root node in the Object Explorer tree shows the instance name. Usually it will be written IISService\SQLExpressInstanceName
Also, in the above connection string, the dot (.) simply refers to the current web server hosting the cms, i.e. your iis server, so just change the SQLExpressInstanceName unless your sql server is on a different machine that the iis server.
At this point you should follow the normal Umbraco install instructions:
http://en.wikibooks.org/wiki/Umbraco/Installation/Installing_Umbraco_on_Windows_XP_Professional#Install_Umbraco_2.1.1If you get "missing object" error pages when trying to view the pages created by the websiteWizard.umb (an example website by the Umbraco folks) then the solution I found was to uninstall everything; database, website, and restart the iis server, restart the database, and install again, second times the charm :~)
Trouble shooting:
If you can't login under SQL Server Authentication check your logs files after a failed login attempt. They're located here by default:
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
Look in the LOG file for anything like:
2006-08-16 09:31:16.33 Logon Error: 18456, Severity: 14, State: 8.
"State: 8" indicates that there's something wrong with a User Password
Here's a list of these different state messages in the SQL Server LOG
http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx