.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Problem with the Document Checkin and Check out.

Posted By:      Posted Date: October 06, 2010    Points: 0   Category :SharePoint

Hi all,

We have a webpage built on sharepoint 2010 platform and we are windows xp sp3 & windows 7,  IE 8 & IE7, msoffice 2007 sp2.

When ever i try to checkout and edit the document i get an error as


But, it works fine when the sharepoint designer is installed on the same system.

Request you people to assist me.




View Complete Post

More Related Resource Links

Sharepoint check-out document cross reference problem

Hi I have a problem with check-outed word document from Sharepoint Services 3.0. After I check-out document from Sharepoint, cross references in Word document stop working. After I click to cross reference (Ctrl+Click to follow link), Word show me warning message: "Some files can contain viruses or otherwise be harmful to your computer...Would you like to open this file". There is two buttons - OK and cancel. After pressing OK nothing happens. I have Sharepoint Services 2003 (clear installation, no custom code), MS Word 2007 and trying .doc file format. I tried this on two Sharepoints and two client computers, but it is the same. I tried http://support.microsoft.com/?scid=kb%3Ben-us%3B925757&x=8&y=9 , but did not help. How can I disable this behavior? Thanks

Charset Problem with dynamically generated Word Document


in my asp.net web application i am dynamically generating a word documnet out of a sql data. I have set the char set UTF-8 during the doument creation in code but still when i open the generated document and check it char set .. it is always windows-1252 not the one that i have set. My sql data in the document have special characters whihc can only be understandable using the UTF-8 charset otherwise its always ?T written in place of an apostrophy . Pasting my code here..

         HttpContext.Current.Response.ContentType = "application/msword";
         HttpContext.Current.Response.ContentEncoding = System.Text.UnicodeEncoding.UTF8;
         HttpContext.Current.Response.Charset = "utf-8";
         string strFileName = "Details" + ".doc";
        HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=" + strFileName);
        StringBuilder strHTMLContent = new StringBuilder();
        string strMessage = " ";
        DataView abstractview = (DataView)dsAbstract.Select(DataSourceSelectArguments.Empty);
        foreach (DataRowView row1 in abstractview)
            strMessage += "<table border='1' cellspacing='0' cellpadding='5' width

The file reached the maximum download limit. Check that the full text of the document can be meaning



I'm facing an issue with the indexing.

I have 1 WFE+Index server+DB server.

Index server is not installed with MS FIlter pack 1.0

When crawling, the there will be document with warning in crawl log:
The file reached the maximum download limit. Check that the full text of the document can be meaningfully crawled.

Documents that with warning are such as doc, ppt, xls, docs, ppts and many others.
However, I view into the successful crawled document, there are doucments with ext doc and ppt.

For large file index, there are MaxGrowthFactor + MaxDownLoadSize required to be added into the index server.

As my understanding is, MS Filter Pack should installed into index server(already did, correct me if i'm wrong).

I looked into the Office SharePoint Seach(CA>Services in farm), if the server is appointed to "Use this server as indexing server", then MS Filter Pack is suppose to be installed into that particular server as well.

At the bottom, there also has another option is "Use all web front end for crawling".

The question here is, IF the option "Use all web front end for crawling" is selected.
Does the WED FRONT END Server required to installed the Ms Filte

Check-out issue when opening a document from a document library when a read-only copy is open

We have an issue when a user has a read-only copy of a document from SharePoint open and then tries to check-out and edit another copy of the document (i.e. from the document library) the checked out copy is not connected to the web server. For the user it will look the same they will make edits, save and then close, but when they do so the document is not updated in SharePoint - it may be saved locally in their SP drafts, but the user will think that they have lost their version. We then get the checked out to another user error and you have to discard changes to get the document working again. Steps to reproduce this issue: * click on the name of a office doc on a Document Library * Make sure "Read Only" is selected and click "ok" * Minimize open document * click on the same file on the Document Library * Make sure "check out and edit" is selected and the "Use my local drafts folder" checkbox is ticked. Select OK. * Edit document and press save. Changes are never saved back in SharePoint, they are only on the local draft. We are using MOSS with SP2. Clients are on Office 2003 and 2007 Is this normal behaviour? Is there anything that can be done to prevent this from happening?

problem autorun.ini in document library


HI ,

In a MOSS 2007 SP1 installation, one " autorun.inf " file was uploaded by user to a document library.

The file keeps updating itself every 10 seconds and cannot be deleted from the library.

Even when System Account ( farm administrator) tries to delete, he gets  " access denied  error".

Help is appreciated . Thank you

Moss 2007 Document check out and check in errors


Users are receiving errors when trying to check in documents.


"The Web server is busy. Try again later."


"This document was checked out to your local drafts folder but the local copy could not be checked in to the site. Close any application that is editing the document and try to check in again, or discard the checkout."


"There is a problem with the Web server. Try again later, or contact the server administrator."

Workstation has office 2007, upgraded from 2003. Documents are being checked out, edited, and checked in properly. Any help appreciated. Thanks.

Document Information Panel problem with Infopath

Hi, I have created a custom document content type that uses a specified word template deployed by a feature for a sharepoint site collection. The Content Type is defined in site collection level i have add a column also defined as a site column called "Abstract", and I added this column to my content type. Now I want to create a custom DIP using Infopath, when infopath is launched it maps all column from this content type. The problem that the "Abstract" column wich is defined as rich text and optional column is not mapped correctly Infopath show that field as a required field and can not be blank. When i added this content type to a document library and try to create a new document i have an error "Document Information Panel cannot create.. problem on the schema with Abstract field". When i try to modify the xsn file at the document library level and republish the form it works but when i do it in the site collection level it's impossible to map the field properly. Any suggestions about what might be causing this problem or how to fix it would be greatly appreciated. ABT

Moving files from one document library to another problem.

Hi, I have a strange problem with trying to move a number of files progammatically from one document library to another. I have a workflow running in sharepoint, which throughout the progress of the workflow, updates a word document stored in a document library, titled "CR".  Within the CR library there may also be a folder title "CR X" where x is the number of the document.  This folder contains any files which have been attached to the CR document.  I.E, excel files, pictures etc. When the workflow completes, the document should be moved to another document library called "Archived" which has a folder named after the year, i.e 2010, which inside that, contains a folder called the name of the document.  All the attached documents should also be moved to this folder. So for example, a document structure could be parentweb\parentsite\CR\CR 2.doc parentweb\parentsite\CR\CR 2\image.jpg parentweb\parentsite\CR\CR 2\image2.jpg Should, when the workflow completes end up looking like: parentweb\parentsite\Archived\2010\CR 2\CR 2.doc parentweb\parentsite\Archived\2010\CR 2\image.jpg parentweb\parentsite\Archived\2010\CR 2\image2.jpg. I have got the first part working fine, where the document is moved to the archive directory.  But I cannot move all the attachment files.  The loop I have to get the files and move them will wo

Intercept Check-In Event of Document Library in SharePoint 2010

we need to intercept the default check-in Event of the Document Library. The detailed requirements is as follows.   1. Intercept the check-in Event of Document Library. 2. Instead of the default check-in  page (normally this is the layout's checkin.aspx page), show our custom application page. 3. In the custom application page, allow users to provide some inputs. Validate the input values against values stored in database. 4. Once validated successfully, allow user to check-in the documents. Else, do not allow user to check-in the document.   One more additional requirement is the above things should happen only for our custom content type. In order to achieve the same, we are planning for deploying our custom document content types and perform the above operations on check-in event of the documents.     Another approach of performing the same is , have our own custom ECB Menu. The detailed process is as below.   a. Customize the check in menu (ECB) b. Show the custom form and get the inputs from user and do the validations c. On the OK button click, if validation is success, then update the meta data and check in the document or deny the process. d. But in this approach, we need to check the libraries version settings and that default functionalities should be added automatically to the check in process.   At this point of time, we a

Changing Document Property on Checkin Event

Hi, I am creating an event , which has to change a custom property from second draft to PreFinalArtifact when a person chechins that file. I have userd the following code. public   override void ItemCheckingOut(SPItemEventProperties properties) {   base.ItemCheckingOut(properties);   if( properties.BeforeProperties.ChangedProperties.ContainsValue("Second Draft")) { properties.BeforeProperties.ChangedProperties.Remove( "Document Artifact Stages"); properties.BeforeProperties.ChangedProperties.Add( "Document Artifact Stages","PreFinal Artifact"); }   } It is not working and further When i attach all W3p process visual studio 2005 terminates.

Document is read-only in SharePoint, but user sees "check out" option in Office 2007 / Word / Excel

I am finding that when there is a document library in SharePoint with checkin/checkout required, if a user with read-only ("Visitor") permissions opens a document from that library, the document will open as read-only in Word, Excel, etc., but the user will see the "Server Document" bar with the message "To modify this document, you must check it out" and the "check out" button.  When the user tries to check the document out, they are asked to authenticate, and then receive the error "Cannot perform this operation.  The file has been deleted or someone else has it checked out."    How is it possible to prevent a user with read-only rights in SharePoint from seeing the "Check out" option in Word or Excel?

Document Set - Problem when uploading multiple files with "Launch forms in a dialog" disabled

Hello, Has anyone come across this before? I have a basic document library for which I have enabled "Allow management of content types" and disabled "Launch forms in a dialog".  Both of these settings are in the "Advanced Settings" page.  Also, the document library does not have versioning enabled and check out is not required. I added the OOTB "Document Set" content type to this document library and allowed OOTB "Document" content type documents in this document set.  This document set does not have any default content. The issue arises after I upload multiple files and click the "Done" button.  After I do this, the browser redirects to the top level of the site!  For example, if I uploaded to my document set at http://server/sites/anyname/doclib, I am redirected to http://server/. This issue has come up in both a standard server and an enterprise server. Steps to repeat issue: Create a document set Open the document set Select "Upload Multiple Documents" Drag and drop or browse for files Click "OK" Click "Done" Actually, this issue also occurs when "Launch forms in a dialog" is enabled.  In this case, you just have to navigate to the upload form directly (with all the necessary query string parameters, of course). Has anyone else seen this issu

WSS 3.0 Cannot Check-in document to Document Library

Hi all, I am having quite an annoying issue. Server Environment Win2k3 Standard R2 WSS 3.0 SP1 All fully patched Client Environment WinXP SP3 Office Professional Plus 2007 IE 8 All fully patched Document Library Settings Version Histroy enabled (Major and Minor versions) "Require documents to be checked out before they can be edited" option is YES Local Drafts folders are being used when checking out. Description of Issue The following symptoms appear only on a few systems in out company. It is computer-based, meaning the issue occurs regardless of which user is logged in (even Domain Admins) In an existing document library, if the user opens a document, they get prompted if they want to open in Read Only or Check Out and Edit. They choose to Edit and use local drafts folder. They make changes and save the document. When closing the document, they get prompted to check in. They click Yes. They choose the version type (Minor or Major) and Version comments and click OK. This error occurs: There has been a network or file permission error. The network connection may be lost. (https://sharepoint.abcdefg.com.au/docume) <-- You can see this address is not complete, Not sure if this is useful info or not When creating a new document, the document opens and the user enters text and clicks the save button. Now, instead of pointing to the SharePoint document library, th

problem in converting a flowdocument in a xps document



I have a flow document that contains different paragraphs.

Each paragraph contains an inlineuielement.

The flowdocument looks fine but when i try to convert it in a xps  i get a document

where all the inliuielemnts elements are not displayed one after the other down the column

but they overlap partially.



 any idea why i have  this behaviour?



SharePoint Couldn't redirect to another page after document check in


Hi all,

I want to redirect to other page after check in the document in the document library. So I coded in ItemCheckedIn event.

But the problem was raised:

  • When I click the Check In button, system would pop up the message "The file could not be checked in. It may already been checked in by another user." (But it would check in the document later).
  • It couldn't redirect to other page after checking in.

Can anyone help?Thx.


document library url RootFolder and https problem


Hi there,

We have SharePoint site running and configured to https protocol over IAG.

When I am trying to view sub folders in document library the RootFolder querystring in the url is relative. But, in my scenario it is coming absolute . Please follow below on how I am getting.

I have infopath form services enabled and a document library contains infopath forms. When user clicks on infopath form, then it will take user to formserver.aspx page, and it automatically adds the source query string to the url. This url it is generating is not relative . It is starting with complete url including domain like https://abcxyz.com

Now, when user closes the infopath form, then it is trying to redirect the user to url what source query string contains.

So, it redirects to the page https://abcxyz.com/doclib/forms/allitems.aspx?RootFolder= https%3a%2f%2fabcxyz.com%2fdoclib%2fsubfolder&FolderCTID=0x012000CD8CD5632FE5F545A3BF3E3EEB142DB5

Because of it contains https absolute url in the RootFolder query string, it is giving error

SharePoint 2010 - Not able to check out a document

I have created a document library in SharePoint 2010 site. When I try to check out a document, I get the message "This document could not be checked out. You may not have permission to check out the document or it is already checked out or locked for editing by another user.". However, I am able to edit the document in Microsoft Word 2010.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend