现在的位置: 首页 > 综合 > 正文

在用VSS时遇到的一个问题:Access to file denied 或 Unable to open user login file

2013年10月13日 ⁄ 综合 ⁄ 共 1290字 ⁄ 字号 评论关闭

 

这个问题只有在通过网络访问时才会出现,在帮助文件中查到:
问题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

抱歉!评论已关闭.