I was concerned when I was pointed towards this in the SQL Server Express docs in an earlier CTP release:
“When a process attaches to a SQL Server Express Edition database (.mdf file), the process must have administrative permissions.”
I thought “Oh no” we are back to the “Please Mr Hoster can you attach this database for me and provide me with the connection string so that I can update my config file”… or even worse hosted access databases. Furthermore what about running as a least-privilege user account (LUA) on the development box… vent vent.
Well I was pleasantly surprised when I discovered ALL these issues have already been addressed!
- To address the Xcopy deployment issue for hosted websites… Bradley Millington has been working on a Web Hosting Upsize Tool for SQL Express that is targeting the November release timeframe. This is significant as SQL Express is essentially a development tool and we have SQL Workgroup Edition 2005 (2 CPU, 3GB RAM) which hosters are loving! SQL Workgroup Edition 2005 can be licensed in NZ for <$100 per month per processor… regardless of the number of cores.
- To address the LUA development issue… SQL Server Express now supports the new User Instance Feature (Read the “Xcopy Deployment for Non-administrators on a SQL Server Express Instance” of the Books Online for the September CTP). User instances allow users who are not administrators on their local computers to attach and connect to SQL Server Express databases… it is also worth noting that User Instance does not support SQL Server Authentication… only Windows Authentication is supported… not a problem on dev machines.
On another note:
This could be a good alternative for a dedicated single box single user hosted solution… bearing in mind SQL Server Express supports ~50 instances, 1gb ram and a single cpu.