Version History, item won't restore

I am trying to restore a master page that isn't currently running as the master page in SharePoint 2010.  I made a change and it got corrupted somehow and the system crashed.  I then went to Site Settings and changed the masterpage to an older
master.  Now I can move around the site again, but when I go to Version history of the original masterpage and try to go back to the previous version, it doesn't work.
I click on Version History (after checking it out). Then I click on the date and I get the drop down for
View, Restore, or Delete.  I hit Restore and it clicks, blinks away, then comes back as if I hadn't changed anything.  The current file is still selected as the current published major version.
I also tried View and then tried to restore from that window without success.
 

Hi,
From your description, I know when you restore master page it seems nothing happen.
I wonder if you check in your master page after you make some changes at the first time.
To produce your issue, I made some changes in master page(such as add code “<script>alert(1);</script>” in the <head></head> section).If I checked in the master page. When I refreshed the page, windows shown message “1”. Then I followed
the steps in your case, everything was OK, I could restore master page even though major version was still current published major version. But if I did not check in the master page, your issue occured.
Also, you can test your issue via using SharePoint Designer. You can check the master page changed or not in SharePoint Designer after restoring master page.
Best Regards
Vincent Han
TechNet Community Support

Similar Messages

  • Get the Version history of a sharepoint 2013 Custom List item

    Hi All,
    I am having doubt to retrieve the field version information with the comments.
    For this field i am done like this
    1.Creating a custom list
    2.And enable versioning for the list
    3.And add a field with field type 'Multiple Lines of Text' and in the Addition Column Settings section 'select yes radio button option in 'Append changes to the Existing text'.
    4.If we done like this the changes to the list item are available outside of field control.
    Can any one help me regarding this field to get the all the versions of list item along with modified data.

    hi Asatish,
    Thanks for posting your issue, Kindly browse the below mentioned URLs to know about the fixes of this issue
    http://berg-henry.blogspot.in/2010/11/custom-list-form-with-version-history.html
    http://somnathmatere.blogspot.in/2013/10/sharepoint-2010-custom-display-form.html
    http://blog.qumsieh.ca/2009/01/29/understanding-the-append-changes-to-existing-text-option/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Document set items Version history

    Hi,
    I'm trying to to retrieve document set version history. here i need to retrieve all modified versions of a document in document set ? Can any body help?
    I have tried but didnt find anyway .. how to get version history of a document in document set.
    Thanks in advance.
    SPSite site = SPContext.Current.Site;
    SPWeb web = site.OpenWeb();
    string ver = web.Url + "/" + sharedDocs;
    //Get the selected document
    SPListItem listItem = SPContext.Current.Web.Lists["Contract Documents"].GetItemById(99);
    if (listItem.FileSystemObjectType == SPFileSystemObjectType.Folder)
    //Get the folder
    SPFolder myFolder = listItem.Folder;
    //Make sure the folder has items
    if (myFolder.ItemCount > 0)
    //For each item get the document name
    foreach (SPFile item in myFolder.Files)
    string name = item.Name;
    foreach (SPListItem vh in myFolder.Files)
    SPListItemVersionCollection coll = vh.Versions;
    foreach (SPListItemVersion version in coll)
    var VersionLabel =version.VersionLabel;

    No Jenkis,, No thats my fault.. I forgot to add code below.
    And I have tried the below code which is fine getting versions but it is not retrieving current version.
    My case, i have a document with versions 1.0, 1.1 but here 
    filecollection.Count is showing 1. that is 1.0 version. Is any other way to get current version?
    SPSite site = SPContext.Current.Site;
    SPWeb web = site.OpenWeb();
    //Get the selected document
    SPListItem listItem = SPContext.Current.Web.Lists["Contract Documents"].GetItemById(99);
    if (listItem.FileSystemObjectType == SPFileSystemObjectType.Folder)
    //Get the folder
    SPFolder myFolder = listItem.Folder;
    //Make sure the folder has items
    if (myFolder.ItemCount > 0)
    //For each item get the document name
    foreach (SPFile item in myFolder.Files)
    string name = item.Name;
    SPFileVersionCollection filecollection = item.Versions;
    if (filecollection.Count > 0)
    foreach (SPFileVersion v in filecollection)
    var VersionLabel =v.VersionLabel;
    Thanks in advance.

  • Image Processor.jsx bug (CS3, 10.0.1): fail to restore history item sometimes

    I have very limited history depth (5 items) to conserve my RAM.
    When I run "Image Processor" script, which calls some complex Action, "Image Processor" fails to restore history item (because it was dropped already) in this lines (tere is same line for every save file type):
    app.activeDocument.activeHistoryState = historyState;
    This line(s) throw exception (file was saved, really!), and file remains open and after processing 10-15 files computer starts to thrash.
    I've surrounded all these lines with try { ... } catch(e) {} and it works for me.
    IMHO, it here are two bad ideas in this script:
    (1) Consider every and any exception as error. In this case, history is not a thing I care about
    (2) Don't close files in case of error. It can fill up RAM & scratch disk very quickly.

    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem

  • How to Print SharePoint 2010 list Item Version History ?

    Hi Guys  . I have a requirement to implement Print Option to get all the version for list items .
    (I know this can done with CTRL + P J) 
    is there any custom solution to add Print button to custom Version History.aspx ?
    or any other solution that may work .
    txns  

    Hi,
     If you want that functionality, you have edit the Versions.aspx page (refer the below path) and include your print button and javascript to print it. I believe this is the way you can achieve it
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS
    If you want more information, please let us know
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • 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..

  • CSOM - Fetching list item version history programmatically

    HI,
    Is it possible to get the List item version history programmatically using Client Object model?
    I have checked these links:
    http://www.learningsharepoint.com/2010/07/16/programmatically-get-document-version-history-using-client-object-model-sharepoint-2010/
    but was not able to achieve. I am not looking for Document library, but for a custom list.
    Thanks

    Hi,
    In SharePoint Object Model, there is a
    SPListItem.Versions property
    can help to “Gets the collection of item version objects that represent the versions of the item”.
    However, in SharePoint Client Object Model, this property is not available at this moment.
    A workaround is that we can create a custom WCF web service for consuming from client side, then in this web service, we can use Object Model to access the versions of a list
    item.
    About how to
    create and a custom WCF web service:
    http://nikpatel.net/2012/02/29/step-by-step-building-custom-wcf-services-hosted-in-sharepoint-part-i/
    This workaround would not be applied to SharePoint Online cause Object Model is needed.
    If there may be some better ideas or solutions about this topic, your sharing would be welcome.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they
    help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]
    Patrick Liang
    TechNet Community Support

  • List items archival with version history using powershell

    HI
    Is there any way to work with site and content structure in SharePoint 2010 with power-shell.
    I want to run a automated task(power shell script) to move list items from source to destination in the same site with version history.
    I know i can do it from site and content organizer but i have to do manually and SharePoint designer workflows doesn't retain the version history.
    Please give me  your valuable tips.

    Hi Manikanta,
    Archive ListItem with Version History in SharePoint, I suggesting you the best links for your solution here
    http://techno-sharepoint.blogspot.sg/2012/10/moving-sharepoint-list-items-to-archive.html
    http://get-spscripts.com/2011/10/copy-sharepoint-lists-and-document.html
    For more details, reach us at
    <a href="http://staygreenacademy.com/sharepoint-2013-training/">SharePoint 2013 Online Training</a>

  • How do I open multiple history items and restore my last session from more than the last day

    I see I can open 1 history item ant a time how can I open more than 1 if my browser crashed or was force quitted. Also is there a way to open previous items from before I day if I lunch safari and don't open my recent items using history.

    From your Safari menu bar. Click History / Reopen all windows from last session.
    If Safari is quitting unexpectedly, try resetting Safari. From the menu bar click Safari / Reset Safari. Select the top 7 buttons, click Reset.
    If that doesn't help, If Safari has just crashed, press the Report button on the CrashReporter dialog box to view the crash  information.
    Copy/paste the entire contents of the Crash Reporter window into your reply. If the crash report dialog does not appear or the crash is hard to reproduce, crash logs can be retrieved from the ~/Library/Logs/CrashReporter> folder.

  • SharePoint 2010 : How to display ALL Version History of a list item's multiline text box in a same list as a list view column?

    In SharePoint 2010 , I have version history enabled multiple text box 'issue details'.  Users mainly uses Data Sheet view and it does not show all version history of that multiple line text box, is there anyway we can display list view column in
    data sheet view to display all version history?
    2) If we can not display in datasheet view, in standard view, it should display all version history instead of just a link  to -view all entries'
    I have found one article here and it posts to use below line of code in sharepoint desinger
    <SharePoint:AppendOnlyHistory runat="server" ItemId="{$thisNode/@ID}" FieldName="Issue_x0020_Details" ControlMode="Display"></SharePoint:AppendOnlyHistory>
    WHen I use this line of code , it displays multiple line of same version history instead of each, please help.

    Hi
    Greetings. Hope it helps 
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/d1be5434-7dc9-4941-bf1d-8c12d7e6a155/display-version-history-in-list-view-column?forum=sharepointcustomizationlegacy
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Export Library/ List Item Version History

    Hello all,
    I would like to save some documents from the SharePoint on a normal disk. In one library version control is turned on. Now I am wondering if it is possible to export the version history
    to an excel or txt file. Does somebody know a way?
    Kind Regards
    Sylwia

    There is no OOB way. You need to use custom code:
    http://suryapulipati.blogspot.in/2010/12/splistitem-doclistitem-null-ur-listtiem.html
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Version History Comparison

    I am using version history in my document library. I have my version control limit set to 5. Currently, I have 4 versions of the document saved as the same name.
    When I click on one of the versions (word doc), it opens in Word 2010 and give me the option to compare. However, when I click on the Compare button in word, it gives me Original, revised and compared split screen. But everything is backwards.
    For instance, original doc is not displaying my actual original document. It's displaying the revised and vice versa. The comparison in Word is backwards. Word is showing where an item was deleted when in fact it was an insertion.
    Is this a SharePoint settings issue or Word? Version History is no good with Word can not keep track of the right changes.
    Can someone PLEASE help me ASAP. I have to present this tomorrow!!
    Ive been racking my brain trying to figure this out.
    artisticweb

    Hi artisticweb,
    To narrow down the issue, please view version of document per the link below and see if they are out of sequence.
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/view-restore-or-delete-a-previous-version-of-a-file-or-item-HA102771930.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Unable to access version history of master page

    Hi,
    I think i totally messed up the master pages, i'm not sure what i did, but i edited seattle.html master page and published it. Now i try to access the site, i get error : "Sorry something went wrong....blah..blah "
    Now when i tried to restore the version history, it throws an error shown below. Please help me to resolve this. I think i just did it in production server.. a big blunder i guess.
    Many thanks !

    Hi Alex,
    Thanks for your response.
    In anxiety i was trying many different things and i found a strange thing. The first screenshot below shows how i tried it earlier. I right click (after checking out the file of course) on the seattle.html and then when i select version history, it doesn't
    work. 
    But in the second screenshot if rather than right clicking, i just click on the file name and then from the next screen, at the right side there is a Version History table listing all the versions. So when i select a version, the Restore button activates
    on the Ribbon and now i can restore from here without any issue. 
    And there is another approach, we can restore through design manager. But if your entire master page is screwed up totally, then you won't be able to go to your _layouts/15/DesignMasterPages.aspx in the first place. 
    So i would suggest people to try the second method (from designer pane).
    Shot 1:
    Shot 2:
    But in any case, i truly acknowledge your advice and it was a close shave for me :) It was very risky. I'm going ahead with your advice and in fact need some more advice.
    I'm going to do the below steps and need your advice on this:
    1. I will make a copy of seattle.html and i guess it will create .master for itself. 
    2. Now i right click on the seattle.html and reset to site definition. So i guess it will like what it was by default.
    3. Now I associate the copy i made with my site.
    Thanks again !
    Kind Regards,
    prajK

  • My 1st generation iPad won't restore

    My first gen ipad won't restore. It won't turn on, it won't turn off, it won't show the apple logo when I try to put it in DFU mode, and it won't show the 'connect to itunes' symbol. Basically it won't do anything that all the trouble shooting tips suggest!
    When I plug it into the mains via it's charging dock, it flashes the apple logo every 10 or 15 seconds, but when I plug it into the mac it only manages to flash very weakly every 5 seconds or so.
    After many attempts, I managed to get itunes to recognise that there was 'an ipad in recovery mode' but every time I tried to restore it, I got the message 'unknown error 1602' and when I looked this up, it basically said it was the same as about 10 other error codes and that all I needed to do was change the USB port and/or restart itunes and/or the mac and it would all be good.
    I did all of these things several times and in various permutations but to no avail.
    I'm not 100% sure of the operating system on the ipad (and of course I can't check at the minute,) but I'm sure it's iOS 5. something! (I did update regularly, or when prompted by the system, but haven't done it in a while because my wife uses it now.)
    My itunes is up to date - Version 11.0.1
    I know it's a long-shot but can anyone help?
    Thanks
    PK

    I have a similar problem. But my iPad shows the connect iTunes screen and gives error 2001 when I try to restore it.
    My iPad's battery was fine but I didn't use it for like 2 weeks. It's battery would've discharged and it turned off. When I tried to charge through wall socket, it got into the restart loop where it would show apple logo and turn off. So I did the simultaneous holding of Home and Sleep buttons for 10 seconds or more. It started showing connect to iTunes.
    When I try to restore, the iTunes does the usual "extracting file" or something and go upto preparing for restore. But the iPad screen turns off from "connect to iTunes" and iTunes gives the error 2001, and the screen is back to connect to iTunes.
    Also, if I don't plug in, the iPad seems dead, doesn't wake up or anything.

  • Second Gen iPod won't restore or update

    I have what I think is a second generation iPod. It's 10 GB with the four round buttons under the display. It has worked flawlessly up until now. The battery was replaced about 3 months ago.
    I connected the ipod two nights ago to update my podcasts and the iPod started performing what looked like a disk scan and put itself into disk mode. I did not change any of my settings in iTunes (v 7.1.1, I believe). To my knowledge, the iPod has not been damaged or abused.
    Since then, I have been unable to get the iPod to update or restore. I did a restore and added all my music back onto the iPod but the iPod remains stuck in disk mode. I attempted to update to iPod software version 2.3 after the restore but I continue to get a message saying I have connected a disk the Mac can't recognize and it takes me into the Disk Utility program, which is unable to solve the problem.
    I have received error messages 1453 and 1417 when I try to update the iPod software but have had no luck solving the problem by tracking those codes.
    When the iPod is connected, iTunes displays "N/A" in the iPod fields for serial number and software version. This tells me there is probably something seriously wrong with my beloved iPod.
    I have tried the factory suggestions for resetting the iPod numerous times, to no avail. I updated iTunes to version 7.3 hoping that would help, but the iPod is still not working.
    Any ideas?
    I'd appreciate any help or feedback any of you can provide.
    Thanks,
    Scott

    I'm having the same sorts of problems -- and I think it is related to either quicktime or 10.3.9 --
    I could neither update nor restore and after reformatting and erasing the iPod HD, (on a machine running 10.4.x -- the 'restore' function is grayed out when using the current version of iTunes on my 10.3.9 machine!) I'm STILL getting messages to the effect that 'some of the items in the iTunes library were not copied ... because the iPod Software is too old.'
    Bottom line, Altho the machine would eventually allow reformatting, I STILL can't copy my playlists from my 10.3.9 machine onto the iPod. Is there a 'known bug' that is being worked on here, or am I doing something wrong?
    Things I've tried:
    1) downgrading to earlier versions of iTunes (did nothing, so I re-upgraded)
    2) Erased iPod HD with Disk Utility on 10.3.9 machine (iTunes would still not allow 'restore')
    3) Connected to 10.4.x machine, 'restore' function of iTunes worked!
    4) Reconnected to 10.3.9 machine and received error message listed above -- some files appear to transfer, but nothing shows up in playlists or music menus of the iPod after syncing -- either manually or automagically.
    5) Searched for ideas here and found nothing pertinent!
    Help? .... Thanks!

Maybe you are looking for