微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

windows – 为什么我在尝试打开和保存文件时收到“其他用户正在使用的文件”和“应用程序共享冲突”错误?

我们最近得到了很多.

> Windows 2008 Server
> Windows 7& Vista客户端PC
> Microsoft Office 2007

用户尝试在我们的网络驱动器(word doc,excel电子表格等)上打开文件时,软件会报告该文件被“其他用户”锁定,即使它不是.在尝试将文件保存到网络时,他们也会看到随机的“共享冲突”错误.

用户尝试在他们自己的驱动器上保存非网络文件并且他们得到“由于共享冲突而无法保存”时,可能会出现相同的问题表现形式.

好的,在追踪潜在问题和测试解决方案后,自问题发布以来,我有答案……

任何实时访问文件(防病毒,同步或索引软件)都可能导致Microsoft Office文件出现问题.

保存时,Microsoft Office会创建临时文件(包含和不包含文件扩展名).过度热衷的实时扫描程序有时会看到这些临时文件,尝试并读取其内容,并在此过程中启动文件锁定.当父应用程序尝试将临时文件转换回其预期格式时,这会导致即时问题.

MSKB: Description of the way that Excel saves files

When Excel saves a file,Excel follow
these steps:

  1. Excel creates a randomly named temporary file (for example,Cedd4100
    with no file name extension) in the
    destination folder that you specified
    in the Save As dialog Box. The whole
    workbook is written to the temporary
    file.
  2. If changes are being saved to an existing file,Excel deletes the
    original file.
  3. Excel renames the temporary file. Excel gives the temporary file
    the file name that you specified (such
    as Book1.xls) in the Save As dialog
    Box.

MSKB: Description of how Word creates temporary files开始

A simplified view of the scheme used
to save an edited file

Create temp file
Write temp file
Delete original file
Move temp to target name

Word gains significant performance
speed by placing the temporary file in
the same directory as the saved file.
If Word placed the temporary file
elsewhere,it would have to use the
MS-DOS copY command to move the
temporary file from the other
directory to the saved location. By
leaving the temporary file in the same
directory as the saved document file,
Word can use the MS-DOS MOVE command
to quickly designate the temporary
file as the saved document.

大多数av,索引和同步软件正确处理临时文件;有些人没有.有些工作正常,但在观看同一个文件夹时不能很好地协同工作.您可以自行决定在您的环境中导致问题的程序.希望这个答案能够为正确的方向提供指导.

更新:Microsoft已发布一些修补程序来解决此问题.
Office 2007 Hotfix
Excel 2007 Hotfix
而不是从MS请求修补程序,而是在The Hotfix Share搜索它们.

仅供参考:既没有完全解决我们的问题,但它们确实显着降低了“共享违规”频率.

原文地址:https://www.jb51.cc/windows/366926.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐