在用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,就可以实现解决方案(与服务器绑定的源代码管理)在服务器间的迁移问题。呵呵

转载地址http://liangliang.cnblogs.com/articles/80389.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值