Access to file denied 或 Unable to open user login file
最近工作所迫,要自己弄一个vss的服务器,弄得头,
总结了一些配置时的一些资料.
问题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:
问题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,就可以实现解决方案(与服务器绑定的源代码管理)在服务器间的迁移问题。呵呵
问题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用户访问服务器的,把这个用户添加到共享的权限组里面,并且赋予所有的权限。