Showing posts with label Doc Library. Show all posts
Showing posts with label Doc Library. Show all posts

Wednesday, July 9, 2014

File is locked for editing by ‘domain\username' when editing office document in SharePoint site



File is locked for editing by ‘domain\username' when editing office document in SharePoint site.

                      

Issue: Sometimes, when we try to edit a document uploaded on SharePoint, we get a file locked error: “File is locked for editing by ‘domain\username’ “, even though the file has been checked in and no one else is editing the file 

Cause: Usually a file is locked by WSS when a particular user has ‘checked out’ the file for editing purposes. A write lock is created so that no other user can edit this file simultaneously. There can be numerous reasons for this such as. below are the some of the reasons.
1.    System crashes while the file is still open.

2.    File has been closed unexpectedly.

3.    Check in was not successful.

4.    Network connection is lost while file is still open.

Ensure to check the below to resolve the issue.

1.    Check whether the file has been properly checked in or not. If not, refresh the page and try to check in the file again.

2.    Delete the local copy of the file present in the cache folder of the concerned user account (access to user’s PC required).

3.    Close all the instances of file type opened in the system. E.g. if the file type is excel, then close all the excel files currently opened.

4.    Also kill the file type service (excel in this case) using the task manager.

Solution: Please follow the below mentioned resolutions if issue still exists.

1.    Download  the wsp from the below mentioned site.
                                 https://spunlockfiles.codeplex.com/
2.    Upload it to the site collection solution gallery
3.    Activate the solution from solution gallery
4.    Activate the solution at the site collection level
5.    Add the web part named as “spfileunlock” to any page and Try to check the issue again.

Please Comment if you need Any Help.Your Feed back is always Welcome.I Am Happy to Help !!!!!

Friday, July 4, 2014

How to Upload Maximum File size in SharePoint



How to Upload Maximum File size in SharePoint

There are so many configuration settings to increase the maximum file upload size in order to store large files in SharePoint. 

Please find the below ways to upload the maximum file size.

Method1 :Change the maximum upload size on the web application level

·        Go to Central Administration
·        Application management
·        Manage web applications
·        Select the correct web application in which you want to do the changes
·        General settings (from the ribbon)
·        You will see the section named as “Maximum upload size”
·        Change the value as per the requirement and click OK.


Method2 :

Modify the web.config file for the appropriate web application, this is located by default at C:\inetpub\wwwroot\wss\VirtualDirectories\web application name or port

1.       Ensure to take  a backup copy of the web.config, then open it
2.       Search for the below thread

<httpRuntime maxRequestLength="51200" requestValidationMode="2.0" />

Change To

<httpRuntime executionTimeout="999999" maxRequestLength="2048000" requestValidationMode="2.0" />

 

Please Comment if you need Any Help.Your Feed back is always Welcome.I Am Happy to Help !!!!!

ShareThis

X