I just reinstalled SQL2005 Express on my laptop after unsuccessfully attempting to install SP2 for it (SP2 worked for all components except the database engine). There are many issues without resolution in the installation of SQL2005 SP2, if you have not installed it yet, make sure you have a good backup before proceeding.
After doing the whole installation using the SQL 2005 Exp package with Advanced Services, which went flawlessly, I tried to run a recent installation of 4.4.1 I had done and it did not work, gave me the error below:
DotNetNuke Upgrade Error
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )
ERROR: Could not connect to database.
Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances.
I did unselect the User Instances feature during installation thinking that none of my databases was setup that way. I had forgotten that I did not modify the setup of the 4.4.1 database because it was supposed to be a quick and dirty test configuration on this machine.
Anyway, the recommended remedy in the error message is not correct, instead of using the recommendation to "Use sp_configure 'user instances enabled' to generate user instances" the correct command sequence is below:
EXEC sp_configure 'user instances enabled',1
GO
RECONFIGURE
GO
After the commands above you can just do F5 in the browser and DNN will connect to the database.
For an article on how to change the database from a "User Instance" to a regular SQL database you can manage with Management Studio see this link: http://www.dotnetnuke.com/Community/BlogsDotNetNuke/tabid/825/EntryID/1202/Default.aspx
Carlos