Error on Site Actions menu

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

December 3rd, 2012 1:22pm

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.

Free Windows Admin Tool Kit Click here and download it now
December 3rd, 2012 1:32pm

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.

December 3rd, 2012 2:11pm

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.

Free Windows Admin Tool Kit Click here and download it now
December 4th, 2012 8:14am

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.

February 4th, 2013 7:40pm

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 ;)


Free Windows Admin Tool Kit Click here and download it now
February 15th, 2013 11:38am

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
July 15th, 2013 1:09pm

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
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2013 4:09pm

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

August 15th, 2013 4:04am

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.
Free Windows Admin Tool Kit Click here and download it now
August 15th, 2013 4:13am

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. :)

February 17th, 2015 3:42am

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.

Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 12:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics