Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to checkout a file that exists in my document library.Both are uploaded manually. Whenever I click on checkout, i get the error

File Not Found.   at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken) 
   at Microsoft.SharePoint.SPSite..ctor(String requestUrl) 
   at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl) 
   at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl) 
   at Microsoft.SharePoint.SPWeb.GetFile(String strUrl) 
   at Microsoft.SharePoint.ApplicationPages.Checkin.get_File() 
   at Microsoft.SharePoint.ApplicationPages.Checkin.OnLoad(EventArgs e) 
   at System.Web.UI.Control.LoadRecursive() 
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

But I can click 'Send to' then click 'download a copy' and I get the file just fine. What would be causing me not to be able to checkout files?

share|improve this question
Does this file have any special characters in the name? Can you check out other files in the same document library? – Dave Wise Nov 2 '11 at 4:43
@DaveWise The name of the file is 'MBC Help', no any file that I upload or even files already there can not be checked out. – atrljoe Nov 2 '11 at 12:50
Can you check out files in a different document library? – Dave Wise Nov 2 '11 at 13:46
No, we have it structured that the main site sits at top then we have 100 or so sites that sit below it. I have tried it in a the top site (libraries like Pages, Style Library, Images etc) and it still does not work. I have also randomly selected a few of the sub-sites and tried the same procedure and still get the error. I can go to a page (like Welcome.aspx) in the Pages Library, and click on page which brings it up to allow for editing, I click edit page and this successfully checks out the page. Then I can go check it in. So I do not know what is going on. – atrljoe Nov 2 '11 at 16:07
Can you check your 12/LOGS and see if there are any other errors that are happening right around the same time these are? – Dave Wise Nov 2 '11 at 16:28
show 2 more comments

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.