Version History for a Document Library - Can't view version history for only 1 item

It is a Document Library with around 8 items. Each of the items have around 60-178 versions.
I checked programmatically that this particular item had 63 versions.
I am getting the foll. error when I try to view the version history for that 1 particular item.. it works for all other items in the same list.
Unable to complete this operation.  Please contact your administrator.   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileVersions(String bstrWebUrl, String bstrFileUrl, Object& pvarVersions, UInt32& pdwcVersions)
   at Microsoft.SharePoint.Library.SPRequest.GetFileVersions(String bstrWebUrl, String bstrFileUrl, Object& pvarVersions, UInt32& pdwcVersions)
This is what I tried so far..
I tried programmatically deleting few verisons for this item - no luck.
I ended up deleting all the versions for this item - still I get the same error.
I tried editing other items to see if their version history still works after new versions get added and it worked.
This is despite the fact that other items that are working have number of versions  as 178, 130, 63 and so on.
I appreciate any help.
Thanks.

Mike, 
 I don't think it is a programming question. It's a sharepoint browsing question.
I have a document library with Versioning set to Create major versions.
In that document library, I have around 8 documents, each of which has versions. Only for 1 particular document, when I try to see the versions by clicking 'Version History', I get the error as stated above.
For all other documents, Version history works.
My initial thought was that may be the document in question had too many versions and that's why it's failing but I was able to check that the document (in question) had 63 versions while there are still other documents in the same list which has 178 versions and 'Version History' is still working.
I further explained all my efforts done so far in order to resolve this issue (none of which worked.)
I deleted all versions (I couldn't delete it from IE since I can't even get to the page where it says 'Delete All Versions' - thus I wrote a small program to delete all versions for this document.)
I also tried modifying other documents to see if a version history is being created for other documents and that is happening.
Thanking you in anticipation..

Similar Messages

  • In a document library : group by view and manage metadata filter & Navigation problem

    Hi all, I encounter a problem when configuring a document library using a group by view and in combination with the Managed Metadata filtering and
    navigation :
    - all the documents appear under my group by, even the ones that does not correspond
    - In the other hand, the number in brackets shows the correct number of documents that should be shown
    See screenshot below. 
    Did you already encounter that issue ? Is there a workaround ?

    Hi,
    According to your post, my understanding is that you wanted to use a group by view and combine with the Managed Metadata filtering and navigation in a document library
    to show the corresponding documents with the correct numbers in SharePoint 2013.
    In my SharePoint 2013, I created a view which was group by two columns and combine with the Metadata Navigation Hierarchies and Key Filters some fields in a document
    library. As a result, it showed only items matching the filter values.
    So, I recommend that you can follow the steps to implement it in your environment.
    Step1: Enable Metadata Navigation and Filtering:
    Metadata Navigation and Filtering is a Site Feature that has to be activated for this to work.
    And, the Metadata Navigation and Filtering feature is enabled by default on most sites.
    If it is not enabled for your site, you can enable it on the Site Features pages for your site.
    You must be a Site Owner or a Site Collection Administrator to enable Metadata Navigation and Filtering.
    1. Go to “Site Settings” and click “Manage site features” under Site Actions.
    2. Find “Metadata Navigation and Filtering” in the Features list and click “Activate”.
    Step2:
    Configure Metadata Navigation:
    You must have a least the Manage Lists permission level to configure metadata navigation for a list or library.
    1. Open the document library for which you want to configure metadata navigation.
    2. Go to “Library Settings” of the document library and click “Metadata navigation settings” under “General Settings”.
    3. In the Configure Navigation Hierarchies section, select the field or fields you want to display in the navigation hierarchy and then click “Add”.
    4. By default, Folders are automatically displayed in the navigation hierarchy. If you do not want folders to display, select Folders, and then click Remove.
    5. In the Configure Key Filters section, select the fields you want to add as Key Filters, and then click “Add”.
    6. In the Configure automatic column indexing for this list, specify whether you want to automatically create indices on this list to increase the performance of the
    queries that users will perform when they use the Navigation Hierarchy and Key Filter columns you've specified. It is recommended that you select the option “Automatically manage column indices on this list”.
    7. Click “OK”.
    Step3: Set a group by two columns by modifying view in the document library:
    1. Go to the “LIBRARY” ribbon of the document library and click the “Modify view”.
    2. Click the “Group By” and select up to two columns to determine what type of group and subgroup the items in the view will be displayed in.
    3. Click “OK”.
    Step4:
    Go back to the document library, apply Navigation Hierarchies and Key Filters to do a test in your environment.
    The result will like as below:
    There is an article about how to apply Metadata Navigation Filtering in SharePoint 2013 for your reference.
    http://blogs.interfacett.com/how-to-apply-metadata-navigation-filtering-in-sharepoint-2013
    Best Regards,
    Linda Li
    TechNet Community Support

  • How to disable drag and drop feature for a document library?

    Hi
    How can I disable drag and drop feature for a document library? Do I have an option to disable it from the SharePoint's feature set?
    Or can I disable it using a script? If so, how?
    Regards
    Paru

    Hi,
    According to your post, my understanding is that you want to disable drag and drop feature for a document library.
    Drag and drop in SharePoint 2013 is a feature that depends on HTML5, which requires version of browser, SharePoint by default doesn’t has feature to disable or enable this.
    You can try disabling the drag and drop feature by disabling an add-on in Internet Explorer, or
    using Internet Explorer 9 or lower.
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/8961ff07-039d-47b0-ae7d-8e24af96234a/2013-doc-library-settings-turn-off-drag-and-drop-and-findsearchfilter-on-metadata-columns?forum=sharepointcustomization
    http://community.office365.com/en-us/f/154/t/228079.aspx
    More information:
    The Solution to SharePoint 2013 Drop and Drag Not Working
    SharePoint 2013 Drag and Drop Upload Not Working
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Detect what the default edit form is for a document library and list using jquery

    Hi,
    So what I have done is with some jquery made it that when a files are dragged and dropped into a document library and there is a required field such as "Metadata" the EditForm.aspx opens up for the user to fill in the required column. I am building
    the url up from what I have found in SharePoints DragDrop.js file. This is all working perfectly I just need to find a way to dynamically find what the default edit form is for that document library as I have just hardcoded like this...
    g_currentControl.strSiteUrl + "/" + this.ListName + "/Forms/EditForm.aspx?ID=" + id
    So I need a way to figure out what the default edit form is instead of hard coding like this in case someone creates a custom_editform.aspx or something for one of the lists.
    Thanks

    You can get it by hitting this REST end point via JQuery:
    http://weburl/_api/Web/Lists(guid'YOURLISTGUID')/Forms
    Chris Givens CEO, Architecting Connected Systems
    Blog Twitter

  • Different View for same document library on a Wiki Page

    Hi,
    I am developing a Provided hosted app which have a functionality to create a document library with two Views. Also we need to show this document library in a wiki page with two different views.
    I am using CSOM (C#). I am able to create the document library and the two views programmatically. But when I add the document library in the wiki page the default view (All Documents) is shown for both the web parts. There is an hidden view created with
    the WebPartDefinition from the xml provided through code. 
    Through CSOM we are able make a View as default with the link below.
    http://sharepoint.stackexchange.com/questions/90433/add-document-library-xsltlistviewwebpart-using-csom-or-web-services
    In my case both the webparts will get the same view, where I need different view for same document library in a wiki page.
    Also I tried to update the web parts with the following code.
    string viewString = @"<View Name='{0}' MobileView='TRUE' Type='HTML' Url='/SitePages/Home.aspx' Level='1' BaseViewID='1' ContentTypeID='0x' ImageUrl='/_layouts/15/images/dlicon.png?rev=23' >
    <Query><Where><Eq><FieldRef Name='KeyDocument'/><Value Type='Boolean'>1</Value></Eq></Where></Query>
    <ViewFields><FieldRef Name='FileLeafRef'/><FieldRef Name='DocumentOwner'/><FieldRef Name='Modified'/>
    <FieldRef Name='_UIVersionString'/><FieldRef Name='Editor'/></ViewFields>
    <RowLimit Paged='TRUE'>30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default='TRUE'>main.xsl</XslLink>
    <Toolbar Type='Standard'/></View>";
    WebPartDefinition wpd = wpfound.FirstOrDefault();
    string formattedstring = String.Format(viewString, wpd.Id);
    wpd.WebPart.Properties["XmlDefinition"] = formattedstring;
    wpd.SaveWebPartChanges();
    web.Context.ExecuteQuery();
    I created two views (viewString) as shown above.
    The above code did not throw error, but it did not update the web part.
    Please advise how to move forward.

    Hi Samir,
    When we click outside of the list view webpart on a webpart page (or allitems.aspx page) with containing multiple webparts, the list view webpart will lose the focus, and the selected items will be deselected, this is by design.
    You can look at the following article with using the approach/workaround of Javascript to prevent the specified list view webpart from losing focus.
    http://sharepoint.stackexchange.com/questions/44360/list-view-loses-focus-when-additional-webpart-added-to-page
    //Set focus on our list web part
    var webPart = document.getElementById('WebPartWPQ1');
    WpClick({target: webPart});
    //Prevent it from losing focus
    SP.Ribbon.WebPartComponent.$3_1.deselectWebPartAndZone = function() { };
    Thanks
    Daniel Yang
    TechNet Community Support

  • Enable Merge Documents and Relink documents views for a document library

    Hi All,
    I would like to have Merge Documents and Relink documents views for a document library (not a form library). I was able to see Combine.aspx and Repair.aspx in the document library open with explorer -> Forms folder. How do I enable these two views?
    Your help would be greatly appreciated. Thanks a lot.
    Merge Documents -> /Forms/Combine.aspx
    Relink Documents -> /Forms/repair.aspx

    These two views is actually hidden in SharePoint library, you can enable it by set hidden property to false.
    download SharePoint manager, then find the site, root to the specified library, click views, find the Merge documents view, you will see that the Hidden propery is by default set to true.
    http://spm.codeplex.com/releases/view/97332
    Qiao Wei &lt;br/&gt; My blog:<a href="http://blog.goobol.com">http://blog.goobol.com</a>

  • Creating a folder for a document library in SharePoint online

    Hello I am looking for a good place to get started on creating a folder for a document library using a powershell script. Thanks in advance for any help.

    Here is a guide to creating folders and items in a document library for SharePoint Server/Foundation: Creating SharePoint Folders
    and Items with PowerShell. You will need to tailor it to your needs as it's a demo for creating 50,000 items.
    That's step 1 and contains the bulk of what you would need to do. Here's an example of connecting to a library in SharePoint Online using CSOM: Office
    365 - PowerShell Script to Upload Files to a Document Library using CSOM. You won't be uploading files, but the parts where you connect and get a list are what you're interested in.
    Now you'll combine bits from both of these scripts:
    1. Connect to SPO
    2. Get your list (looks like you need to first get the site collection and then the site)
    3. Create a folder
    I figure it would look something like this (note I haven't tested this at all):
    #Specify tenant admin and site URL
    $User = "[email protected]"
    $SiteURL = "https://tenant.sharepoint.com/sites/site"
    $DocLibName = "DocLib"$FolderTitle = "Example Folder"
    #Add references to SharePoint client assemblies and authenticate to Office 365 site - required for CSOM
    Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
    Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
    $Password = Read-Host -Prompt "Please enter your password" -AsSecureString
    #Bind to site collection
    $Context = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL)
    $Creds = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($User,$Password)
    $Context.Credentials = $Creds
    #Retrieve list
    $List = $Context.Web.Lists.GetByTitle($DocLibName)
    $folder = $list.AddItem("", [Microsoft.SharePoint.SPFileSystemObjectType]::Folder)
    $folder["Title"] = $FolderTitle
    $folder.Update();
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • HT1925 I have a problem, whenever I try to install the iTunes This brings me to this problem  "microsoft visual studio c + + runtime library" Can I have a solution for this?  Thanks

    I have a problem, whenever I try to install the iTunes This brings me to this problem
    "microsoft visual studio c + + runtime library" Can I have a solution for this?
    Thanks

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • I'm using Premiere Elements 11, which automatically opens in a project window for HD. I want to reset the default for SD. How can I reset the defaul for opening a project?

    I'm using Premiere Elements 11, which automatically opens in a project window for HD. I want to reset the default for SD. How can I reset the default for opening a project?

    scottypet
    For Premiere Elements 11 and 12, you cannot change its default project preset from NTSC AVCHD Full HD1080i30 or its PAL counterpart PAL AVCHD Full HD1080i25 to something else.
    For each project, you can set the project preset manually if you do not want the program to take over setting the project preset based
    on the properties of the first drag to the Timeline.
    To set the project preset manually, open the project to the Expert workspace, go to File Menu/New/Project and Change Settings.
    In the Change Settings area, change the project preset. Before you exit that area, be sure to have a check mark next to "Force Selected Project Setting on This Project" in the new project dialog.
    Then you import your source media, using the appropriate Add Media choice.
    ATR Premiere Elements Troubleshooting: PE11: Accuracy of Automatic Project Preset (New Project Dialog) Setting
    If you want a version of Premiere Elements that uses the default project preset of NTSC DV Standard or its PAL counterpart PAL DV Standard, then you need to look to a version of Premiere Elements earlier than 11.
    Please let me know if you have any further questions on this or need clarification.
    Thank you.
    ATR

  • Please back to the adobe photoshop express version 2.7.2.  I can't use version 3.0

    Please back to the adobe photoshop version 2.7.2.  I can't use version 3.0. Please please i need version 2.7.2   Please teach me how can i do.

    If you sync your tablet with itunes on your pc look in your PC trash bin for the older versions of your tablets apps

  • Do you have to sign personaly for a delivery or can someone else do it for you?

    do you have to sign personaly for a delivery or can someone else do it for you?

    someone else can do it for you. I recieved my MB air yesterday, and it was signed by my apartment office personnel.

  • Hello MacHeads: I downloaded Handbrake 0.9.1 for Tiger, so I can upload a homemade DVD for editing in imovie.  Problem is I can't even access Handbrake Help book, because I think my firewall settings are preventing me.  I tried turning off all my firewall

    Hello MacHeads: I downloaded Handbrake 0.9.1 for Tiger, so I can upload a homemade DVD for editing in imovie.  Problem is I can't even access Handbrake Help book, because I think my firewall settings are preventing me.  I tried turning off all my firewall settings.?  IDK if I'm even doing that right.  Can anyone help out here?

    You don't need Handbrake for that if it is your own DVD.
    You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle.
    a DVD is in a compresed format called mpeg2, which is standard across all DVDs. This is what is known as a 'final delivery format' and is not suitable for editing. Because is is compressed, a 4.7GB DVD can hold a two hour movie (dual layer DVDs twice that), whereas the DV stream from a video camera, which runs at about 13GB per hour, is not compressed and IS intended for editing.
    In other words you have to 'reverse engineer' the DVD back to an uncompressed format in ordfer to edit it. There is a penalty for doing this in terms of slight quality loss, but it is one you can live with.
    When you have your DVD as an icon on your desktop, double-click it, and it will open to reveal a TS-Folder containing a number of various files, some called VOB. These are the constituent parts of any video DVD.
    When you have downloaded and installed mpegStreamclip, and purchased and installed the Apple mpeg2 plugin, open mpegStreamclip and drag the entire TS Folder into its window. Then using the various menus available to you (just explore them and you will get the hang of it) ask it to convert to DV.
    That DV file, which will be many times larger than the original TS Folder, and which can a while to create (be patient - make coffee or prune the roses!) is what you can now import into iMovie for editing etc.
    When you have finished doing that, you then have to turn the project back into a DVD.
    mpegStreamclip can be downloaded from here:
    http://www.apple.com/downloads/macosx/video/mpegstreamclip.html
    which is free, but you must also have the  Apple mpeg2 plugin :
    http://www.apple.com/quicktime/mpeg2/
    which is a mere $20.
    Another possibility is to use DVDxDV:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
    which costs $25.
    For the benefit of others who may read this thread:
    Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.

  • I have an ipad2 with 3G Verizon  for use in India can I get Vodafone service for a month

    I have I pad 2 with WIFI and 3G Verizon . For use in India can I get Vodafone service for a month.

    The Verizon iPads are CDMA based, they don't use micro-sim cards unlike the AT&T models - they are different 3G technologies. I don't know whether there are any CDMA-based carriers in India, if not then you could try getting a mifi device and use a sim card in that to give you internet access on the iPad

  • HT204088 Can you view purchase history on your iPhone?

    Can you view purchase history on your iPhone?

    You can view your recent purchase history, and optionally contact iTunes Support about a problem with one of them, via this page (it doesn't show purchase numbers, but does list the items and their prices) : http://reportaproblem.apple.com

  • HT204266 25 apps on my wife's phone need updating and now it "Cannot connect to iTunes Store" only when i try to update them for her.  I can access the iTunes store for all other options but not to update.  How can I get her updated?

    25 apps on my wife's phone need updating and now it "Cannot connect to iTunes Store" only when i try to update them for her.  I can access the iTunes store for all other options but not to update.  How can I get her updated?

    Try quitting the App Store:
    Tap the home button to get to the home screen. Then double tap the home button, and hold your finger over the App Store icon. Tap the red when it appears. Tap the home button again to return to the home screen.
    Try resetting:
    Hold the home and power buttons at the same time until the Apple boot logo appears. No data will be lost.

Maybe you are looking for

  • Crystal Report add-on SAP B1

    Hi Experts, I have successfully installed Crystal report add-on on SAP B1 server, I can see the attached report in all modules on server as well as client machine, but when i tried to open any report on client machine, it is not opening but it is pro

  • Exception CX_SY_RANGE_OUT_OF_BOUNDS raised while executing a Web Report

    Hi Gurus, When I executed a Web Report, I got the following Exception CX_SY_RANGE_OUT_OF_BOUNDS when it is filtered for September month report is working fine, but when filtered for October month got the following message Messages: An exception with

  • I can't update my ipod to the other pc

    when i try to update my ipod to the other pc it won't let me update. When i tried to plug in my ipod it would still show please plug in your ipod to update it. Please help me! I update this already to my dad's computer and now he sold his computer to

  • Audigy 2 6.1 Cr

    Hello, Thank you for reading my message. I'm having a problem with my SoundBlaster Audigy 2. I've had this sound card for over a year and I've never had any problems with it. The problem I'm having is there is no sound coming from the speakers or any

  • Error message -15260 Finder Busy

    When we restart this machine we are getting "-15260 Finder Busy". After clicking OK the machine runs fine. What is this message and how can we eliminate it? Thanks. M