SQL Express 2005
I'm a developer, I'm not a dba. I can design and use a SQL database that wouldn't make a sane dba wail in despair, but I'll gladly hand off the desicions about data to someone else. It's not something that interest me.
Administrating a database server is something that should be left to the expert, and I don't have time to be an expert. But recently I need to run my project against SQL Express, and I started to get access denied errors. Here are the exact steps that I needed to use in order to let ASPNET access the database.
>osql -S .\SQLExpress -E
1) sp_grantlogin '.\ASPNet'
2) go
1) use testdb;
2) go
1) sp_grantdbaccess '.\ASPNet'
2) go
1) grant select, update, delete, insert on table_name to [.\ASPNet]
-- repeat 30 more times for each table
31) go
It took me several hours and a lot of frustration to find that out. Since SQL Express seems to be designed to make developers happy, where is the nice UI that would make me deal with this stuff? I tried to use the Express Manager a couple of months ago, but that was utterly inusable, configuration wise.
Comments
Comment preview