none
Error on Site Actions menu

    Question

  • Hello All,

    I have one SharePoint Site in which if i click on Site Actions menu then i get javascript alert showing the following error

    "An error has occurred with data fetch. Please refresh the page and retry."

    Does any one has any idea on cause of this error?

    Thanks in advance,

    Anna Jhaveri

    Monday, December 03, 2012 10:22 AM

Answers

  • Hi Anna,

    Press F12 to try to debug the page to see the real error which caused the issue. And this seems a known issue, you can have a check. Have you installed the latest the SP services packs? It may be caused by TakeOfflineDisabled function, try to install latest SP service packs and run the upgrade wizard, to update the code of function TakeOfflineDisabled().

    Best Regards.


    Kelly Chen
    TechNet Community Support

    Tuesday, December 04, 2012 5:14 AM
    Moderator

All replies

  • Site Actions Menu work on JavaScript. So this might be a javascript related problem. Implementation of JavaScript varies from Browser to Browser. So it heavily depends on which browser you are using.

    You should also look at any customization done in the site actions menu. Due to wrong customization, it may be generating the error.


    Thanks, Bhadr :) Mark as Answer if it solves your problem. Vote As Helpful if the post is helpful for you.

    Monday, December 03, 2012 10:32 AM
  • Hi Bhadr,

     Have you customized the master page? If you say yes, please look at all the javascript file reference. If any one of the files reference is wrong, there could be a chance to get those kind of error.

    And If you say everything is proper, please delete your browser cookie and restart your browser.


    Sekar - Our life is short, so help others to grow

    Whenever you see a reply and if you think is helpful, click "Alternate TextVote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Alternate TextMark As Answer

    Monday, December 03, 2012 11:11 AM
  • Hi Anna,

    Press F12 to try to debug the page to see the real error which caused the issue. And this seems a known issue, you can have a check. Have you installed the latest the SP services packs? It may be caused by TakeOfflineDisabled function, try to install latest SP service packs and run the upgrade wizard, to update the code of function TakeOfflineDisabled().

    Best Regards.


    Kelly Chen
    TechNet Community Support

    Tuesday, December 04, 2012 5:14 AM
    Moderator
  • Thank You Yaoyao for the hint.

    In our scenario,  when we added our WebPart to the Site, click on Site Actions menu was generating the same error.

    The real reason was that wrong/old TakeOfflineDisabled() implementation was trying to use SetDomainCookie function. The SetDomainCookie function is undefined, therefore MMU_Open function (calling TakeOfflineDisabled) was throwing exception.

    We found that in datepicker.js the function had wrong/old implementation. In the init.js the function was ok. Misleading was, that only when you use SharePoint datepicker control you are loading wrong javascripts and error occures. We still don't know, when and how the file was damaged. We have latest SP installed and run the upgrade wizard.

    Best regards.

    Monday, February 04, 2013 4:40 PM
  • Hello Marcin, 

    Same problem but we solved it! ;)

    The file Datepicker.debug.js is ok, reinstalling SP1 done nothing, same problem occured.

    As our great partner ;) said we replace Datepicker.debug.js - its done nothing, same problem occured.

    We must replace more other files from older version, and now it works perfectly.

    But we cannot install if future new SP... so we adjust SPS for aplication, not vice versa ;)


    Friday, February 15, 2013 8:38 AM
  • Hi,

    We have the same problem here...

    Can you please precise what you updated ?

    Thanks in advance,

    • Proposed as answer by Hypn0tik Thursday, August 15, 2013 12:59 AM
    • Unproposed as answer by Hypn0tik Thursday, August 15, 2013 12:59 AM
    Monday, July 15, 2013 1:09 PM
  • Hi guys,

    I have had this issue for awhile, the resolution is a pretty easy fix.

    I tried to reset the browser, clear cookies, IE repair / reset nothing worked.

    My answer to the problem;

    Push F12 and change your browser mode from compatability mode to standard.

    From: IE10 Compatibility

    To:  IE10 / IE9

    Thursday, August 15, 2013 1:04 AM
  • Hi guys,

    I have had this issue for awhile, the resolution is a pretty easy fix.

    I tried to reset the browser, clear cookies, IE repair / reset nothing worked.

    My answer to the problem;

    Push F12 and change your browser mode from compatability mode to standard.

    From: IE10 Compatibility

    To:  IE10 / IE9

    The error message you receive "An error has occurred with data fetch. Please refresh the page and retry." seems to appear for multiple bugs. Mine was specifically while attempting to click on the Site Setting cog in sharepoint 2013, which I figure the compatibility browser mode causes an exception.
    Thursday, August 15, 2013 1:13 AM
  • We have encountered this error message in our SharePoint 2013 farm. The farm has been updated with all the latest service packs and cumulative updates. The farm was a staging environment for 2010-to-2013 migration of a heavily customized portal. The migration plan was to run the farm in 2010 compatibility mode for several months and then go to full 2013 experience.  Everything was tested and worked as expected except this Site Actions javascript error.

    The problem lay in the use of TakeOfflineDisabled function that is defined in offline.js.  Interestingly enough, offline.js is present in 15 hive (C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS) but is absent in 14 hive (C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033) -- at least that's what we had in our case.  We ended up copying offline.js to our scripts folder and referencing this file in the master page.

    Once we upgrade this farm to full 2013 experience, we'll remove our current reference to the copy of offline.js and see if the Site Action javascript bug will re-appear.  Until then we filed it under "2010 compatibility mode bug" and moved on. :)

    Tuesday, February 17, 2015 8:36 AM
  • In Sharepoint 2013 integrated SSRS 2012, on clicking on action in IE 10 some users were getting error:
    an error has occurred with the data fetch. please refresh the page and retry.

    On doing F12 we saw:
    SCRIPT3: The system cannot find the path specified.
    core.js, line 1 character 6957

    On unchecking Tools => Internet options => Advanced => “Enable DOM storage” settings, it starts working.

    • Proposed as answer by SaurabhMathur Monday, August 31, 2015 4:05 AM
    Monday, August 31, 2015 4:04 AM