SharePoint - 'Are you sure you want to navigate away fro this page?' takes time

Asked By Christopher
18-Nov-09 05:31 AM
When a user does an operation on a publishing page that would take them away
from the current page, we get the warning dialog about moving away. The thing
is that it takes for ever to show up, 20-30 seconds.

Using fiddler I found out that the page is making several hundred requests
against the PublishingService.asmx. Each time calling the Wait method with a
value of 100 milliseconds. What is going on?
Q2hyaXN0b3BoZXI
(1)
FB7B9D39Content
(1)
Serif
(1)
Webservice
(1)
Sharepoint
(1)
Entires
(1)
Msdnmg
(1)
Pops
(1)
  stchen replied to Christopher
18-Nov-09 09:28 PM
------=_NextPart_0001_FB7B9D39
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Chris,

From your description, I got that your sharepoint publishing service's page
will take long time to display when user perform a certain operation on it.
And you  find that there is lots of Wait webservice method calls during the
long run period, correct?

I think the wait webservice method here is just sending some notification
to the service side so as to indicate that it will take more time for the
client-side page to render the entire page layout or the data processing at
the server-side is not ready. For your case, if it occurs on every page in
the sharepoint server, one possible issue is the server-side processing
takes lots of time; If you have other sharepoint server, you can try
watching the behavior on other server to see whether the same result
occurs.

Also, have you checked the server eventlog and MOSS ULS log to see whether
there is any particular entires there?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.


--------------------
From: =?Utf-8?B?Q2hyaXN0b3BoZXI=?= <Christopherki@nospam.nospam>
Subject: 'Are you sure you want to navigate away fro this page?' takes time
Date: Wed, 18 Nov 2009 02:31:03 -0800


When a user does an operation on a publishing page that would take them
away
from the current page, we get the warning dialog about moving away. The
thing
is that it takes for ever to show up, 20-30 seconds.

Using fiddler I found out that the page is making several hundred requests
against the PublishingService.asmx. Each time calling the Wait method with
a
value of 100 milliseconds. What is going on?

------=_NextPart_0001_FB7B9D39
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi Chris,
\par
\par From your description, I got that your sharepoint publishing service's page will take long time to display when user perform a certain operation on it. And you  find that there is lots of Wait webservice method calls during the long run period, correct?
\par
\par I think the wait webservice method here is just sending some notification to the service side so as to indicate that it will take more time for the client-side page to render the entire page layout or the data processing at the server-side is not ready. For your case, if it occurs on every page in the sharepoint server, one possible issue is the server-side processing takes lots of time; If you have other sharepoint server, you can try watching the behavior on other server to see whether the same result occurs.
\par
\par Also, have you checked the server eventlog and MOSS ULS log to see whether there is any particular entires there?
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par
\par
\par Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg@microsoft.com.
\par
\par ==================================================
\par Get notification to my posts through email? Please refer to http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
\par
\par
\par \pard\li720 --------------------
\par From: =?Utf-8?B?Q2hyaXN0b3BoZXI=?= <Christopherki@nospam.nospam>
\par Subject: 'Are you sure you want to navigate away fro this page?' takes time
\par Date: Wed, 18 Nov 2009 02:31:03 -0800
\par
\par
\par When a user does an operation on a publishing page that would take them away
\par from the current page, we get the warning dialog about moving away. The thing
\par is that it takes for ever to show up, 20-30 seconds.
\par
\par Using fiddler I found out that the page is making several hundred requests
\par against the PublishingService.asmx. Each time calling the Wait method with a
\par value of 100 milliseconds. What is going on?
\par \pard
\par
\par }
  Christopher replied to stchen
19-Nov-09 03:21 AM
The situation is that the user does something that takes them away from the
page, then the browser freezes for a period of time. Then the dialog box pops
up with the message.

I have reflected the web service, and the Wait call results in a
Thread.Sleep() call. So it is basically calling the server to wait for a while.

Chris
help
Sharepoint portal? n SharePoint n / m SharePoint Design Discussions Office (1) Communicator (1) Sharepoint (1) Serif (1) Presence (1) - -- -- - = _NextPart_0001_7E67EF30 Content-Type: text / plain Content-Transfer-Encoding: 7bit Please explain more Transfer-Encoding: 7bit { \ rtf1 \ ansi \ ansicpg1252 \ deff0 \ deflang1033{ \ fonttbl{ \ f0 \ fnil \ fprq2 \ fcharset0 MS Sans Serif;}} \ viewkind4 \ uc1 \ pard \ f0 \ fs20 Please explain more about what you want to do. \ par
SharePoint Windows Services Discussions CONFIGEmployee (1) SharePoint (1) Excel 2007 (1) Excel (1) ExportTable (1) Serif (1) Nemo (1) Spreedsheet (1) test - -- I am trying a new usenet client for Mac Encoding: 7bit { \ rtf1 \ ansi \ ansicpg936 \ deff0 \ deflang1033 \ deflangfe2052{ \ fonttbl{ \ f0 \ fnil \ fprq2 \ fcharset0 MS Sans Serif;}} \ viewkind4 \ uc1 \ pard \ lang2052 \ f0 \ fs20 Hi craigward, \ par \ par I noticed that the problem Encoding: 7bit { \ rtf1 \ ansi \ ansicpg936 \ deff0 \ deflang1033 \ deflangfe2052{ \ fonttbl{ \ f0 \ fnil \ fprq2 \ fcharset0 MS Sans Serif;}} \ viewkind4 \ uc1 \ pard \ lang2052 \ f0 \ fs20 Hi craigward, \ par \ par I've performed some tests
Test Post 1 SharePoint Portal Server Discussions SharePoint (1) CE008563Content (1) Windows (1) Lambert (1) Serif (1) Qin (1) Tngfb (1) - -- -- - = _NextPart_0001_CE008563 Content-Type: text / plain Content-Transfer-Encoding: 7bit Hello Transfer-Encoding: 7bit { \ rtf1 \ ansi \ ansicpg1252 \ deff0 \ deflang1033{ \ fonttbl{ \ f0 \ fnil \ fprq2 \ fcharset0 MS Sans Serif;}} \ viewkind4 \ uc1 \ pard \ f0 \ fs20 Hello Super, \ par \ par Thanks for posting, your technet subscription