+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20

Thread: IE hangs with (1 item remaining)

  1. #1
    Wolfmaster Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy's Avatar
    Join Date
    Mar 2008
    Location
    Peoria, IL
    Posts
    2,386
    Blog Entries
    5
    Real Name
    Wolff
    Rep Power
    15

    IE hangs with (1 item remaining)

    This is not exactly the right forum for this question, but close enough I reckin'

    We have had several reports from our users that IE is 'hanging' with a status of "1 item remaining" when using our internal web application. This is sporadic, but probably happens at least once/day to most users. In some case, it prevent the page from 'working', other times it doesn't appear to affect the page at all.

    After doing some research, I've found reference to this as a possible IE bug attempting to load a javascript file (foo.js for example). This would seem to make some sense if the script file happened to have logic needed to support the page. (I.E. submit button not working, AJAX broken, etc).

    This has only been mildly annoying, but the natives are growing restless. So

    1. has anybody seen this bug before -- it seems to only be in IE
    2. how can I determine what the '1 item remaining' is (easily)
    3. any line on a possible fix
    ?
    Wolffy
    .-- ----- ..-. ..-. -.--
    Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Void where prohibited by law. Not valid in California. Your mileage may vary.

  2. #2
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    This could be a missing file that the web site is requesting to be loaded, (i.e. CSS, image, JavaScript, etc.). You could try using a program like "Fiddler" to determine who the culprit is.
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  3. #3
    Wolfmaster Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy's Avatar
    Join Date
    Mar 2008
    Location
    Peoria, IL
    Posts
    2,386
    Blog Entries
    5
    Real Name
    Wolff
    Rep Power
    15

    So, I managed to install a copy of 'Fiddler' and capture a case where the browsers 'hangs' with '1 item remaining' (in fact, it's been sitting there now for over a hour). I also captured a request that completed without a problem.

    The request trace is exactly the same between the two (save for the line numbers in Fiddler). Same number of requests, same number of byes, same files, same HTTP return codes.

    So, now I'm at a loss as to where to look further. Some googling on the subject is now making me think that a javascript is hanging someplace, but I would have no idea where to start looking for that.
    Wolffy
    .-- ----- ..-. ..-. -.--
    Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Void where prohibited by law. Not valid in California. Your mileage may vary.

  4. #4
    Wolfmaster Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy's Avatar
    Join Date
    Mar 2008
    Location
    Peoria, IL
    Posts
    2,386
    Blog Entries
    5
    Real Name
    Wolff
    Rep Power
    15

    Well I have at least some circumstantial evidence that it's a script getting hung up. When I disable scripts from Internet Options, I was unable to reproduce the problem after about 15 minutes of trying. Yeah, it's an intermittent problem, so this is not conclusive.

    When I re-enabled scripts again, I managed to reproduce the problem within 20 attempts. Then, when I disabled scripts using the IE8 debugger, the page finished loading. I then attempted to reproduce the problem for another 100 attempts or so, as was not able to.

    After re-enabling scripts in the debugger, I reproduced the problem again in about 2 minutes.

    I'm therefore reasonably confident that it's a problem in a script getting hung up. But, what script is it and is it the same script each time? How to tell??
    Wolffy
    .-- ----- ..-. ..-. -.--
    Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Void where prohibited by law. Not valid in California. Your mileage may vary.

  5. #5
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    Do you have access to Firefox? You could try this Javascript Debugger add-on: https://addons.mozilla.org/en-US/firefox/addon/216/
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  6. #6
    Wolfmaster Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy's Avatar
    Join Date
    Mar 2008
    Location
    Peoria, IL
    Posts
    2,386
    Blog Entries
    5
    Real Name
    Wolff
    Rep Power
    15

    Sure, I work exclusively in firefox except when I'm forced to use IE. Alas, this problem does not appear in Firefox. (And yes, IE8 is the corporate standard supported browser).
    Wolffy
    .-- ----- ..-. ..-. -.--
    Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Void where prohibited by law. Not valid in California. Your mileage may vary.

  7. #7
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    How about popping it in Visual Studio 2008 and using the JavaScript debugger (opening in IE, of course)?
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  8. #8
    Administrator richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere only we know...
    Posts
    3,207
    Blog Entries
    14
    Real Name
    Rich
    Rep Power
    14

    Is it calling any external JS files from a different domain?

    Can you make changes to the JS files for debugging purposes? I'm thinking make it write something to the browser at the beginning and end of each file to narrow down to which one is causing the issue (assuming it's the same one each time).

    Once you've located the file, change the position of the debugging element to try and locate the specific element causing the issue.

  9. #9
    Wolfmaster Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy's Avatar
    Join Date
    Mar 2008
    Location
    Peoria, IL
    Posts
    2,386
    Blog Entries
    5
    Real Name
    Wolff
    Rep Power
    15

    How about popping it in Visual Studio 2008 and using the JavaScript debugger (opening in IE, of course)?
    Yeah, thought of that -- however I don't have VS yet as I have no 'business case' to get it (until we start converting this monster to .NET anyway, sometime in 2011). Maybe this problem will help get it (tho I think the corporate standard is 2005 still. Heck, we still have Word 2000 as the standard).

    Is it calling any external JS files from a different domain?
    Nope all the js files are in the same directory structure as the application.

    Can you make changes to the JS files for debugging purposes?
    Yes I can. However, we are talking about 50+ js files here. I'm probably going to have to do this, but first I better confirm that the problem can be reproduced on the development server.
    Wolffy
    .-- ----- ..-. ..-. -.--
    Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Void where prohibited by law. Not valid in California. Your mileage may vary.

  10. #10
    Ask Me About Dragons :D Shadow Wizard has a spectacular aura about Shadow Wizard has a spectacular aura about Shadow Wizard's Avatar
    Join Date
    Jul 2008
    Location
    Israel
    Posts
    795
    Blog Entries
    2
    Real Name
    Yahav
    Rep Power
    5

    No Fiddler, what you need is HttpWatch: HttpWatch: Download
    Their free option is enough and will show you all the files your browser is trying to request.
    You will see one file (at least) being "stuck" and from there we can move on.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. Programmatically Add Item to Validation Summary
    By jmurrayhead in forum .NET Code Samples
    Replies: 3
    Last Post: January 18th, 2011, 01:25 PM
  2. List item
    By guddu in forum .NET Development
    Replies: 2
    Last Post: June 29th, 2010, 02:23 AM
  3. Hide menu item
    By guddu in forum .NET Development
    Replies: 10
    Last Post: June 9th, 2010, 11:30 AM
  4. Last item summed into next category help
    By Rebelle in forum ASP Development
    Replies: 8
    Last Post: October 7th, 2009, 03:48 PM
  5. Loop through datalist & grab each item value
    By peebman2000 in forum .NET Development
    Replies: 7
    Last Post: November 6th, 2008, 03:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO