VSS 的奇怪问题:下午 5 点后 VSS 不起作用

发布于 2024-08-18 13:06:40 字数 206 浏览 2 评论 0原文

我在使用 Visual Source Safe 时遇到了一个非常奇怪的问题。我与其他 5 名同事在公司内部网中使用 VSS 作为 VS 2008 的附加组件。我的 VS 大部分时间在下午 5 点后停止工作,抱怨无法连接 Source Safe。我在 Vista 上运行 VS 2008 和 VSS 2005,公司中没有其他人遇到这样的问题。

您认为其原因是什么? VSS有日志吗?

I have a very strange problem with Visual Source Safe. I use VSS as a add-on with VS 2008 in a corporate intranet with 5 other colleagues. My VS stops working after 5 p.m. most of days with complaining can not connect Source Safe. I'm running VS 2008 and VSS 2005 on Vista and no other one in corporate have such a problem.

What do you think about its cause?
Is there any log for VSS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我很OK 2024-08-25 13:06:40

您的域帐户可能有登录限制。

VSS 是一个基于文件的源代码控制系统,它通过访问网络共享来工作。帐户登录限制会阻止您在某些时间访问共享。

要测试这个理论,请尝试以下操作:

  1. 获取 VSS 所在的共享。它的格式应为 \\SERVER\SHARE
  2. 打开命令提示符
  3. 键入NET USE,这将显示您的所有连接
  4. 如果连接到共享,键入NET USE Z: /delete(其中 Z: 是为其分配的驱动器盘符)那个共享)
  5. 输入NET USE * \\SERVER\SHARE

如果这个理论是正确的,在5之前你将得到命令成功完成,但之后5 您将访问被拒绝

You probably have logon restrictions on your domain account.

VSS is a file based source control system and it works via access to a net work share. Account logon restrictions would prevent you from gaining access to the share at certain times.

To test this theory try this:

  1. Get the share that VSS lives in. It should be in the form \\SERVER\SHARE.
  2. Open a command prompt
  3. Type NET USE this will show you all your connections
  4. If connected to the share type NET USE Z: /delete (with Z: being the assigned drive letter for that share)
  5. Type NET USE * \\SERVER\SHARE

If this theory is correct, before 5 your will get command completed sucessfully, but after 5 you will get access denied

半城柳色半声笛 2024-08-25 13:06:40

几个问题

  1. 下午 5 点以后还有效吗?如果有的话,是否有一个事件可以与它停止工作的时间相关联?
  2. 当无法通过 VS.NET 访问 VSS 时,是否可以通过 VSS Explorer 访问
  3. VSS 数据库是否位于远程服务器或共享驱动器上?如果是这样,您可以在下午 5 点之后访问该驱动器吗? VSS只是磁盘上的一堆文件。您能在 VSS 或 VS.NET 之外看到这些文件吗?
  4. 有没有可能有人正在做备份或类似导致机器宕机的 VSS 机器的操作?下午 5 点后可以 ping 通 VSS 服务器吗?

A couple of questions

  1. Has it ever worked past 5pm? If it has is there an event you can correlate to when it stopped working?
  2. Can you access VSS through VSS Explorer when you can't access it through VS.NET
  3. Is the VSS database on a remote server or shared drive? If so can you access that drive after 5pm? VSS is just a bunch of files on the disk. Can you see those files outside of VSS or VS.NET?
  4. Any chance someone is doing a backup or something similar to the VSS machine that is bringing the box down? Can you ping the VSS server after 5pm?
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文