Note that there are some explanatory texts on larger screens.

plurals
  1. POLong-running Ajax call returns http status 401
    primarykey
    data
    text
    <p>I have an asp.net page that loads, then makes am ajax call that can take some time. Sometimes the call times out. This is expected in some cases where data is less than perfect. I have been noticing that it will actually prompt for the end users username and password. This seems new: This page has been making this call with no 401 errors like this for several years and I have not heard reports of this behavior. When I look in fiddler, I see that the web server is returning 401.1 errors when the web service call is made. More info: This is an ASP.NET page calling a local web service. Here the script manager:</p> <pre><code> &lt;ajax:ToolkitScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="5000"&gt; &lt;Services&gt; &lt;asp:ServiceReference Path="~/WebService/DataWebService.asmx" /&gt; &lt;/Services&gt; &lt;/ajax:ToolkitScriptManager &gt; </code></pre> <p>Here is the call to the WS:</p> <pre><code> WSNameSapce.WebService.set_timeout(2000000) WSNameSapce.DataWebService.GetValues('&lt;%=Current.AccountId%&gt;',displayResult, displayErrorMessage); </code></pre> <p>The websits uses IIS2 win server 2003, and is configured to use Anonymous Authentication. </p> <p>The web service calls some stored procs and makes some (WCF) webservce calls. When the procs/WS calls take a long time. I see thread aborted exceptions, and I am prompted to provide my windows login info: as though Basic authentication was configured. I understand everything up to the when i am prompted to provide my windows login. If the Webservice times out, I should get a 500 error, which my code handles. </p> <p>Any help usderstanding why users are being prompted for a login, and how I can prevent thi from happening would be appreciated. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload