文件已存在 [英] File already exists

查看:120
本文介绍了文件已存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的一位用户已检出文件,但不再需要该文件,因此将其删除.足够公平,没有问题.随后,另一个用户尝试上传具有相同名称的该文件的替换文件.共享点抛出一个 错误,告诉他"指定的名称已在使用中."我们已经仔细检查过,并且绝对没有该名称的文件,它已经被删除!我们必须将其上传到其他位置 暂时的名称,但是(出于难以解释的原因),我们需要它具有先前删除的文件的文件名.

One of our users had a file checked out but didn't need it anymore so deleted it.  Fair enough, no problems with that.  Another user has subsequently attempted to upload replacement for this file with the same name.  Sharepoint throws up an error telling him that "The specified name is already in use."  We've double checked and there definately isn't a file of that name, it's definately deleted!  We've had to upload it with a different name for the moment but (for reasons that would be too long winded to explain) we need it to have the filename of the file that was previously deleted.

我知道编辑底层的SQL表很不好,但是我想我去看看dbo.AllDocs表,看看文件是否在那里全部存在.原始文件中有一条记录已被删除.共享点总是吗 保留记录,即使它已被删除,还是应该在删除文件时从数据库中删除该行?

I know it's bad to edit the underlying SQL tables but I thought I'd go have a look in the dbo.AllDocs table to see if the file is represented there at all.  There is a record for the original file that was deleted.  Does sharepoint always keep a record of stuff even if it is deleted or should this row have been removed from the database when the file was deleted?

对于为什么我们不能重用已删除文件的名称,是否有人建议?非常令人沮丧和困惑!!

谢谢

戴夫

推荐答案

请查看SharePoint的回收站.请参阅本文以了解更多详细信息:

Please review the Recycle Bin of your SharePoint.  Refer this article on more details:

 


这篇关于文件已存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆