VSS and UAC problems continue

52 sec read

After installing Vista RC1 the problems I had installing VSS were resolved so for a while I was quite happy working with VSS on Vista. Today though I’ve just stumbled across the following problem:


Assume that you have a network share containing a VSS database which you use to store your development team work, and that you’ve provided the right security privileges in that share so that everyone in your team can access and modify it.


Also lets assume that you’ re working on a project that requires running Visual Studio as administrator (elevated mode in UAC).


In this case you are not running Visual Studio with your account anymore and of course you can no longer access the network share containing the VSS Database, and thus cannot work with source control over your project.


What’s oxymoron is that if you want to work around this problem you must allow everybody access to the particular share[1], thus lessen the security on the share in order to tighten security on your local machine.


I believe that this is not something that was done intentionally but something that was not considered when implementing UAC and something that will be resolved in the final built but never the less it’s something that gets on my nerves.







[1] Of course you can always have 2 Visual Studios to work with, one running in UAC elevated mode to run your project and another in normal mode to edit it (this will run as your account thus having access to VSS Database share.


Discover more from ksharp

Subscribe to get the latest posts sent to your email.

Microsoft Visual Studio 2012 is here customize it to…

With the virtual launch of Microsoft Visual Studio 2012 coming up in a few days at September 12, 2012 9:30 AM PDT (UTC -8:00)...
kpantos
35 sec read

Debugging Web Sites using IIS Express

Microsoft recently released a new flavor of IIS 7.x that is optimized for developer scenarios called “IIS Express” as part of WebMatrix. IIS Express...
kpantos
56 sec read

Visual Studio 2010 Launch Event

On May 14 Microsoft Hellas is going to celebrate the release of Visual Studio 2010 in an event different from the other, in a...
kpantos
19 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from ksharp

Subscribe now to keep reading and get access to the full archive.

Continue reading