none
Duplicate IIS weblog entries for GET request

    Question

  • Working on a classic asp website using vbscript and IIS 6.0.  We have an asp file, clientscript.asp, that only returns javascript and is included in our pages using the script tag with a type of text/javascript. The javascript written is used to do client validation of forms on all of our pages.  So there is a bunch of javascript routines in this file which may or may not be used based on the page you're on.  In our weblogs, I'm not seeing any problems when the GET request happens for the clientscript.asp file included on any pages except for one (review.asp) and the issue primarily occurs with ie9.  Below is a sample web log entry and you can see that in this case the review.asp page posts back to itself and performs a GET request for clientscript.asp two times within the same second.  The first time it fails with a 500 and 64 and immediately after it is followed by a successful request that happens in the same second.  Any thoughts on why it is originally throwing a 500 but gets followed by a successful request?  I also can't recreate this but see it happening in our web logs more frequently.  Note this page is also using ssl.

     2011-06-08 06:08:39 xxx.xxx.xxx.xx POST /review.asp - 443 - yy.yyy.yyy.yy Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+Trident/5.0) https://www.xyz.com/review.asp 200 0 0

    2011-06-08 06:08:39 xxx.xxx.xxx.xx GET /scripts/clientscript.asp |-|ASP_0147|500_Server_Error 443 - yy.yyy.yyy.yy Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+Trident/5.0) https://www.xyz.com/review.asp 500 0 64

    2011-06-08 06:08:39 xxx.xxx.xxx.xx GET /scripts/clientscript.asp - 443 - yy.yyy.yyy.yy Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+Trident/5.0) https://www.xyz.com/review.asp 200 0 0

    Thursday, June 09, 2011 4:43 PM

All replies

  • Hi jnetuser,

    Thanks for the post!

    Since it's a IIS related question, I recommend you ask this in IIS forum: http://forums.iis.net/. It's mroe professionanl and you can get more help from there.

    Thanks for your understanding and cooperation!

    Regards,

    Miya


    This posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Monday, June 13, 2011 7:26 AM
    Moderator
  • Miya,

    Thanks for the reply.  I had actually started in the IIS forum you mentioned and received the reply below which is why I came here.

    "Yes that is a lot of occurences for IE and it is a browser issue. It does not look like IIS Server configuration is an issue."

    And to me it does seem that the browser is the one sending the duplicate request for some reason.  Do you have any idea when the browser would send multiple requests for the same page in the same second?

     

    Monday, June 13, 2011 4:40 PM
  • Miya,

    Just wanted to see if you had an answer to the question I posed in the last post?

    Do you have any idea when the browser would send multiple requests for the same page in the same second?

    Thank you,

    jnet

    Wednesday, April 11, 2012 12:38 AM
  • @jnetuser

    use the IE9 Developer tool's network tab or fiddler to examine the client requests....you will probably see two Get requests being sent from the client when the user presses enter in an input tag on a form with a submit button on it.

    typically a form element will have both a submit button and an onclick event handler for the submit button or an onsubmit handler for the form....causing the form to be submitted twice.

    for questions about html, css and scripting post to http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment with a link to your website or copy and paste your full client source markup that shows the document type and the complete <form> block.

    Regards.


    Rob^_^


    Wednesday, April 11, 2012 1:50 AM