> 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:
- 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.- If changes are being saved to an existing file,Excel deletes the
original file.- 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 fileCreate temp file
Write temp file
Delete original file
Move temp to target nameWord 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搜索它们.
仅供参考:既没有完全解决我们的问题,但它们确实显着降低了“共享违规”频率.