This is a mirror of official site: http://jasper-net.blogspot.com/

How to take ownership of your local SQL Server 2008 Express

| Wednesday, February 24, 2010
Ward Beattie, one of our developers, has published a nice script  that allows you to get sysadmin privilege to your local SQL Server Express instance. Obviously, you need to have administrative rights on your machine or access to an account that does.

The script can be very useful in the following situation:

When Visual Studio 2010 RC is installed by one user and being used by another user, the second user is unable to create databases, tables and other objects in SQL Server 2008 Express instance that is installed by Visual Studio 2010 RC. This is because only the user who installed SQL Server 2008 Express is granted sysadmin role in the SQL Server 2008 Express. So even if the second user has administrative privileges to her machine, she will not be able to manage the local SQL Server 2008 Express instance.

If this is your problem, just run Ward's script and become the master of your SQL Server 2008 Express!

Read more: SQL Server Express WebLog
Download: Script

Posted via email from jasper22's posterous

0 comments: