Vista + Sql Server 2005 Express = Not DB Admin (by default)
I started working on Vista recently. It does not give you admin privileges by default (check out User Access Control for more details).
I was trying out some Web Parts sample code, and for quite some time, i wasn’t able to install NorthWind database into the Express DB; i kept on getting Insufficient Privileges errors. After lurking around on user forums, i finally found what i was looking for. I’ll just mention the simple steps to resolve this problem.
-
Make sure you got the latest release. Check here.
-
Open Sql Sevice 2005 Service Area Configuration tool. Click on the link Add New Administrator to open Sql Server 2005 User Provisioning Tool for Vista.
[
](http://bp3.blogger.com/_7PfRoQMuOng/RhmMCdmTSzI/AAAAAAAAAAU/
RjXT5IDhGrA/s1600-h/sql_SAC.jpg)
- Use the tool to give admin privileges to your user account.
[
](http://bp1.blogger.com/_7PfRoQMuOng/RhmMf9mTS1I/A
AAAAAAAAAk/7hOLAw0PIpA/s1600-h/sql_provision_tool.jpg)
That is all you need to do. You are now the administrator for your database.
Happy Programming!!
Latish