Microsoft Sharepoint Services

SharePoint Services – Issues and Solutions

Issue: Failure when adding web part to a web page in SharePoint.

with 2 comments

Symptoms:

  • When trying to close a web part from the SharePoint page, we get an error message :

 “The file is not checked out.  You must first check out this document before making changes.”

Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator. 

WebPart CheckOut Error

WebPart CheckOut Error

If we go to the Web part maintenance page using “?Contents=1” at the end of the .aspx page

Getting to the Web part maintenance page

Getting to the Web part maintenance page

Now try to either close or delete the web part from that page, we get an error :

 “Could not complete the operation. The file is not checked out. You must check out the document before making changes.”

Web Part Check Out Error

Web Part Check Out Error

 

I tired to check out the document from the IE as well as from SharePoint Designer, but we still get the same symptoms.

 

Work-around #1:

This workaround does not actually resolve the issue completely, but I found that out while trying to get rid of that error message. 

  • Browse to the SharePoint page where you want to modify the web part. Make sure that you are logged in as the site admin or with a user account that has modify permission over the site.
  • Click on Site Actions -> Edit Page.

Now you can close the specific web part that you were not able to close before.

 

Work-around #2

  • Browse to the Reports site and click on “View All Site Content”
View All Site Content

View All Site Content

  • Browse to “Pages” under document libraries. I was working with the default.aspx page and thus, by default it is stored under the pages directory of the site. You might be working with some other pages and so basically you need to browse to the library where you have stored the .aspx page where the web part exist.
  • Click on the drop down of the .aspx page and select “View Properties”
Document Drop Down Properties
Document Drop Down Properties
  • Check Out the file from the properties page and then go back and try to close the web part and that should work. You can even “Check Out” the file using the drop down menu -> Check Out. Now, if you do not wish to create a new version of the file, you can discard the check out after you have deleted the web part. But that would revert back the changes. You will need to check in the .aspx page file so that other users are able to see the page after the modifications are made.

Now, I am not too sure why the above settings do not work when we check out the file from SharePoint Designer or from the Edit Page view of the page. But this seems to do the trick and works great all the time.

Written by amolghanwat

September 30, 2008 at 5:48 pm

2 Responses

Subscribe to comments with RSS.

  1. My friend on Facebook shared this link and I’m not dissapointed at all that I came here.

    How to Get Six Pack Fast

    April 15, 2009 at 3:52 pm


Leave a Reply