Stuff that's in my head

Can open... Worms everywhere! The blog of Colin Angus Mackay
posts - 291, comments - 278, trackbacks - 53

Installing SQL Server 2005 on Vista

Perhaps this is not so much an issue with installing SQL Server 2005 on Vista, but of the way I install SQL Server 2005 on Vista, or even more accurately install it on my laptop on Vista.

A SQL Server will expect to run constantly on the machine that it is installed on. However, not on my laptop. I generally have SQL Server turned off on my laptop because it uses resources that it does not need. I don't frequently use SQL Server on my laptop but I do need it sometimes. Because of this, during the installation I customise it so that the SQL Server services do not start up automatically as they normally would.

There is a slight problem with this approach I've discovered when installing on Vista. SQL Server 2005 came out before Windows Vista and they don't actually get along out of the box. You have to install SQL Server 2005 SP2 (or so several dialogs claim) before you can start working with SQL Server 2005 on Windows Vista.

At the end of the process for installing SP2 it will let you know that admin users on the Vista box will not be admin in SQL Server unless you are explicit about which users to add. It then launches a "SQL Server 2005 User Provisioning Tool for Vista" to allow you to set up the admin users. However, if the SQL Server services are not running it cannot do this - the User Provisioning Tool will run, but when you apply the changes it will popup an error message and quit. So, it would seem that what I should have done is let the installer get on with running SQL Server 2005 when it finished so that the admin users could be set up. However, I didn't and it failed. So, without any users set up on the SQL Server I could not log in.

After hunting around on disk for this User Provisioning Tool I discovered that the SQL Server 2005 Surface Area Configuration tool will allow me to launch the tool by pressing the "Add New Administrator" link in its dialog. So, with the SQL Server services (all of them indicating in the User Provisioning Tool, in my case the Database Engine and the Analysis Services) running I add myself to the list of users, click OK and.... A moment later everything seem to work. There is no confirmation, the dialog just goes away without any error messages. To test it worked I opened up the SQL Server Management Studio and attempt to log in. It works. I'm happy.

Now, finally, I go and limit the amount of memory I'm prepared to allow SQL Server to use. See my post on managing SQL Server's memory usage. It is a laptop after all...

Print | posted on Sunday, August 03, 2008 10:40 AM

Feedback

Gravatar

# re: Installing SQL Server 2005 on Vista

This is exactly what I needed. Thanks Curtis
SQL Server 2005 Dev was a real pain to get setup of this class.
Thanks again!
8/8/2008 2:23 AM | Curtis Graczyk
Gravatar

# re: Installing SQL Server 2005 on Vista

Thanks alot Colin. That last part about where to find the User Provisioning Tool really helped me out.
8/15/2008 10:29 PM | Matt Philmon
Gravatar

# re: Installing SQL Server 2005 on Vista

Obrigado !! mas tem como instala o SLQ NO VISTA ??????
8/16/2008 2:38 PM | marcos
Gravatar

# re: Installing SQL Server 2005 on Vista

Give Me SQL setup for installing C#
8/28/2008 3:15 PM | arvind
Gravatar

# re: Installing SQL Server 2005 on Vista

@arvind That does not make any sense.
8/28/2008 3:33 PM | Colin Angus Mackay
Gravatar

# re: Installing SQL Server 2005 on Vista

thanks a lot, excatly what I need.
9/4/2008 2:51 PM | Aaron

# re: Installing SQL Server 2005 on Vista

Same thing happened to me, couldn't find the provisioning tool. Thanks!
9/18/2008 7:02 PM |
Gravatar

# re: Installing SQL Server 2005 on Vista

i am not getting enterprise manager when installing sql server 2005 on xp / vista.
where i am lacking plz guide
10/31/2008 8:29 AM | anand
Gravatar

# re: Installing SQL Server 2005 on Vista

@anand: There is no Enterprise Manager with SQL Server 2005. It has been replaced with the SQL Server Management Studio
10/31/2008 9:04 AM | Colin Angus Mackay

Post Comment

Title  
Name  
Email
Url
Comment   

Powered by: