Microsoft KB Archive/281974

= Changes to Visual Basic SourceSafe Settings Apply to All Users =

PSS ID Number: 281974

Article Last Modified on 9/24/2003

-

The information in this article applies to:


 * Microsoft Windows Server 2003, Enterprise Edition
 * Microsoft Windows Server 2003, Datacenter Edition

-



This article was previously published under Q281974



SYMPTOMS
If a computer is running Terminal Services, Microsoft Visual Basic settings for SourceSafe apply to all users.



CAUSE
This problem occurs due to an architectural limitation in Visual SourceSafe when a you are using Terminal Services.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
When you modify the options, these changes are saved in the following keys in the registry:

HKLM\Software\SourceCodeControlProvider\Options\GetOnOpenProject

HKLM\Software\SourceCodeControlProvider\Options\CheckoutMakefileOnOpenProject

HKLM\Software\SourceCodeControlProvider\Options\CheckinAllFilesOnCloseProject

HKLM\Software\SourceCodeControlProvider\Options\DeleteFilesFromSccOnRemoveFromVB

HKLM\Software\SourceCodeControlProvider\Options\AddFilesToSccWhenAddedToHost

When you make changes to the SourceSafe options in Visual Basic, whether or not you have administrative privileges, the registry values are modified accordingly, and this affects all users.

In TS4 mode, when you make changes, it affects all users. In non-TS4 mode, you receive an &quot;access denied&quot; error message if you try to make the changes mentioned in this article. Because Visual Basic wants to write to HKLM, it makes the change global and thus affects all users.

Sample Scenario

 * 1) Log on to the Terminal Services server from a client computer, and then start Visual Basic.
 * 2) On the Tools menu, click SourceSafe, and then click Options.
 * 3) Modify the options, quit Visual Basic, and then log off from the computer.
 * 4) Another user logs on to the Terminal Services server from the same client.
 * 5) When this user starts Visual Basic and views the SourceSafe options, the user sees the modifications that you made, which now apply to this user as well.

Keywords: kbprb KB281974

Technology: kbWinServ2003Data kbWinServ2003DataSearch kbWinServ2003Ent kbWinServ2003EntSearch kbWinServ2003Search

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.