Welcome to EMC Consulting Blogs Sign in | Join | Help

James Dawson's Blog (2005 - 2011)

I have now left EMC Consulting, if you wish to continue to receive new content then please subscribe to my new blog here: http://www.readsource.co.uk

Running VSTS4DB as a Non-Admin User

I'd heard about this forthcoming edition of Visual Studio 2005 Team System (Team Edition for Database Professionals) a while back but was reminded by Jamie's recent post to actually download the CTP and give it a whirl.

After a painless installation, I cranked-up VSTS, created a new 'SQL Server 2000' project and clicked on the 'Import Database Schema' with much anticipation.... only to be met with a rather abrupt and anti-climatic 'object reference not set' error:

After an unsuccessful bit of Googling, and an uninstall/reboot/install cycle I eventually discovered that the import functionality worked fine when running with local Administrator rights, but not when using my everyday unprivileged account - irrespective of any other SQL-related permissions.

So now I'll make sure that I run the ever useful 'MakeMeAdmin' before doing this sort of thing again.

Incidentally, running VS2005 without admin rights is officially supported (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/vs05security.asp), and to-date has worked well for me - a definite improvement on VS.NET 2003 in this respect.

Published 19 June 2006 16:08 by james.dawson
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Personal Edition), by Telligent Systems