Questions tagged [lock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
12
votes
5answers
91k views

The file “[file name]” is checked out or locked for editing even though no one has it open

I get the following error when I try to check out a document from a document library in SharePoint that has been recently edited: The file "[file name]" is checked out or locked for editing by "[...
6
votes
6answers
50k views

Cannot delete document, error: The file is currently checked out or locked for editing by another user

I am using SP 2013 on-premise. I have an document library named Documents. I have added a new Word document. I try to remove this document, but it gives me an error: Het bestand is momenteel ...
6
votes
2answers
1k views

Can we unlock a ShortTerm lock via CSOM for SP2013

We are using SP2013 with OWA installed. Users often complain about a file stored in SharePiont being locked by another user not in office. Error is "The file "xxxx" is locked for exclusive use by ...
3
votes
2answers
615 views

Powershell Script to temporarily disable SharePoint subsite

I tried using the following script to disable one of my sub-sites: Connect-SPOService -Url https://contoso-admin.sharepoint.com -credential xyz@contoso.com I get the following error: The site is ...
2
votes
3answers
41k views

The file is locked for shared use by domainName\user

I have a document library in a SP 2013 site. I have a document content type with a document template associated to it. Now, I have written an ItemUpdated event receiver which will update the document ...
2
votes
3answers
309 views

PowerShell script to unlock documents in SharePoint Online

I've a DocumentLibrary in which documents are required to be checked out but when I create a new document, as Admin, I can't to check it in because required fields are empty and, at the same time, I ...
2
votes
0answers
129 views

Make column locked for editing by users in Sharepoint list

I currently have a SharePoint list that track open tickets for specific events. I have a flow that runs on this when an item is added. The flow creates an automatic due date (+5 days from when ...
2
votes
0answers
46 views

List locked. SSIS copy from Sharepoint to SQL Server

I have an SSIS package that copy data from the Sharepoint List to MS SQL table. It work's fine. But yesterday I have an issue that package is getting stuck in validating the data flow. Maybe ...
1
vote
1answer
1k views

Release Client Side Lock by Javascript

I am having problems with the Client Side lock events of SharePoint 2013. When an user edits the document and closes it. The Client Side lock of SharePoint is working on that document. Is it possible ...
1
vote
1answer
21 views

How to forbid folder deletion in SP Online document library?

I thought this information would be easy to find on google or on this site but can't find it. Sorry in advance if I missed it. I have a document library accessible by 100+ people and we decide to ...
1
vote
2answers
987 views

Enforce File/document locking in Sharepoint 2013

I currently received a request in which the document/folder should be locked after (x)days (after the created date). Is it possible to enforce document/folder locking?
1
vote
1answer
778 views

Remove locked file (locktype=Shared)

there is a file I want to delete but it is locked. I see with powershell that the lock type is Shared. >$item = $web.GetListItem('pathtomyfile') >$item.file.locktype >Shared Can I change or ...
1
vote
1answer
286 views

The file <filename> is locked for editing by user <username>. OWA cannot preview it too

On our SP2013 on-premises environment. We have OWA installed. Recently Excel file (.xlsx) is locked and prompt for the error at title. We confirmed the opened the file 2 days ago. At this moment, ...
1
vote
0answers
43 views

Site Collection Read-Only lock renders 'View in Browser' fail

We are on SharePoint 2016 with Office Online Server 2016. We have sites that we'd like to lock in read-only mode (per CA), but upon doing so will make the viewing the document in the browser view fail ...
1
vote
1answer
354 views

Excel file locked by another user

I have an Excel file shared widely on SharePoint. Most users open the document with Excel Online. A couple times, I've seen when a user opens it with the Excel client, it then locks the file for ...
1
vote
1answer
1k views

Locking Sharepoint column after data is input

How can I lock a column (in a list) from further changes after it is initially populated? I want to lock down the "initial due date" and only allow changes to a "revised due date" column so we can ...
1
vote
1answer
50 views

SPFile.LockId property some clarification

SPFile.LockId property: whenever somebody checked out file it will be locked automatically, is that correct? then what will be the value of LockId property at that time? secondly, what is the default ...
0
votes
1answer
34 views

SharePoint Online - Excel File locked by User

We have a excel file in SP Online for which Co-authoring is enabled. But very often the file gets locked that too with a particular user account. The user (on whose name it displays as locked), he ...
0
votes
1answer
725 views

Override User's File Lock

I am have a file and a folder in two separate document libraries that I am experiencing similar issues with. They are both locked (I didn't even know folders could be locked) and I cannot unlock them. ...
0
votes
1answer
42 views

Check-out file by users

The file is currently checked out or locked for editing by another user share point document library? None of the users locked this document. I have a farm admin account.
0
votes
1answer
22 views

Dealing with file locks from read-only users

At work, our team publishes a file, which we make available on Sharepoint (O365) with a fixed (permanent) filename and direct URL. We are the only ones with edit access to the file, but a few dozen ...
0
votes
1answer
959 views

this task is currently locked by a running workflow and cannot be edited. sharepoint 2013

I have a task where participant is not able to approve it. It says "this task is currently locked by a running workflow and cannot be edited" .