The page took too long to save…

See my post about:

Saving Page Content Sharepoint with IE8 cause annoying delay:

http://blog.bugrapostaci.com/2010/03/03/saving-page-content-sharepoint-with-ie8-cause-annoying-delay/

See you next article…

Advertisements

Saving Page Content Sharepoint with IE8 cause annoying delay

This is very annoying problem when you are programming with IE8 and using sharepoint .We are working with custom layout pages coding and this problems occured and waste our valuable time.

Symptom

When navigating away from a publishing page that is in edit mode the browser displays “Saving Page Content…” in the status bar which can take up some time (about 15 sec)  to complete before asking for confirmation to not save the page.There were no such error with either IE7 or FireFox.

Cause

SBN_CallBackHandler() client function of SaveBeforeNavigationControl is not called as it supposed to. It looks like the implementation of XMLHttpRequest object in IE8 is somehow different from the previous release

Solution: There are three different solution

1) Change IE8 configuration parameter

Click -> tools -> Internet Options -> Advanced (tab)  and uncheck

Enable native XMLHTTP support (checked by default)

(This solution not worked with me but some blogs say thats ok )

2) Edit
\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES\PublishingConsole.ascx
and remove this component.
<PublishingWebControls:SaveBeforeNavigationControl id=”sbn1″ runat=”server”>
< / PublishingWebControls:SaveBeforeNavigationControl>
And also did not work for me !!

3) Add javascript to your page:

<script type=”text/javascript”>
_spBodyOnLoadFunctionNames.push(“UnloadHandler”);
function UnloadHandler()
{
document.body.onUnload = “”;
window.onbeforeunload=””;
}
</script>
Thats all folks…

Disable Internet Explorer Enhanced Security in Windows Server 2008

When you are working with ie8 in windows server 2008 Enhanced Security feature make it very tedious and cause waste of time. You can disable it easily

  • Open the Server Manager by going to Start > Server Manager
  • In the Server Manager browse to the Security Information section and click Configure IE ESC.
  • Opening windows select OFF for administrators.

  • Open the Local Security Policy.(Windows Server 2008s Start button, then type secpol.msc in the Start Search dialog box)
  • Expand the Local Polices folder.
  • Drill down to Security Options folder.
  • Scroll down, and locate the family of settings beginning with ‘User Account Control’.
  • Focus on: User Account Control: Behaviour of the elevation prompt for administrator.  Double click and set to: Elevate without prompting. 
  • Restart you Windows Server 2008 computer.
  • Thats all.