发新话题
打印

[转贴] VSS登陆问题( 此文章被查看:2613次,被回复:0篇!! )

VSS登陆问题

在用VSS时遇到的一个问题:Access to file denied 或 Unable to open user login file
这个问题只有在通过网络访问时才会出现,在帮助文件中查到:
问题1: Access to file <File> denied  :
Under certain conditions, VSS denies a user access to a file. This error has the following causes and solutions:

     You were denied access (read or write privileges) to a file that VSS was attempting to open.

     It is possible that another user has the file momentarily locked; try again.

     You may not have sufficient network privileges to take the action you are attempting.

     See your  VSS Administrator for more information on your VSS access right. Also see the Administration chapter of the      Microsoft Visual SourceSafe User's Guide for a description of the network access rights required for various users in different directories.
问题2: Unable to open user login file<path to login file>
This warning has the following cause and solution:  
    The user does not have Write access to  the VSS database.  
    Grant the user  full rights to  the VSS directory and all its subdirectories.  
    All VSS users must have the ability to  read, write, create and erase files in the VSS directory and all subdirectories  

解决方法:
如果在本地访问是没有这个问题的,应该是权限问题。不过我已经把VSS directory and all subdirectories的“属性”中的“安全”中的“组或用户名”中加了“users”而且权限为“可修改”。还是不行。
于是在VSS目录共享中(一定要共享的),“权限”一项打开,上面只有“users”再把下面“everyone”的权限设为“更改”“读取”(在小方框前面选上)。于是就好了,呵呵。

还有一个问题就是与一个server A 绑定后的代码,可以在客户端更改代码管理,把与server A 的绑定取消,然后再“添加到源代码管理”到server B,就可以实现解决方案(与服务器绑定的源代码管理)在服务器间的迁移问题。呵呵

或者把guest权限设置成全部共享就可以了

由于我是用administrator用户访问服务器的,把这个用户添加到共享的权限组里面,并且赋予所有的权限。



© 本文为 hiflySCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

发新话题