locked
Code not working on 64 bit server RRS feed

  • Question

  • User116999714 posted
    Hi Guys, We are having some problems running our website on 64 bit servers. We started coding on 32 bit servers and the website works perfectly when we use WOW 64 on 64 bit servers (simulating a 32 bit environment on 64 bit servers). However, when we compile our code on 64 bit servers (with 64 bit Visual Studio) the website stops working and throws a 104 (connection reset by peer) error. Any idea why that could be happening? Cheers!!!
    Monday, November 9, 2009 2:50 AM

All replies

  • User690216013 posted

    104 error code is not used by IIS, so it may come from another source. You'd better review IIS logs and HTTP error logs to dig further what happened, for example, which page returned this code and what this page performed.

    http://support.microsoft.com/kb/318380

    http://support.microsoft.com/kb/943891

    Monday, November 9, 2009 3:12 AM
  • User116999714 posted
    Thanks Lextm. We are actually getting a 502 bad gateway error. When I click on details I get to see 104 Connection reset by peer. We get the 502 error only when we compile our code in 64 bit (machine and software) and run the same on a 64 bit machine. When we compile the code on a 32 bit machine and run the code as 32 bit using WOW 64 on a 64 bit machine we dont face any such issues. Any suggestions? Thanks Cheers!!!
    Monday, November 9, 2009 5:18 AM
  • User511787461 posted

    This would indicate a crash in your code - have you tried debugging your code?

    Monday, November 9, 2009 12:11 PM
  • User116999714 posted
    We have tried debugging the code. There are no compilation errors. The problem is we cannot replicate this on the local environment. It seems to be happening only on the live environment. Are there any tools you suggest we should use to debug the code crash that you are suggesting?
    Monday, November 9, 2009 12:54 PM
  • User116999714 posted
    In a development that happened yesterday, we are now facing the same issues using our application as 32 bit with WOW64 as well. In fact, we are facing this issue on one of the servers when it has been disconnected from the Load Balancer node and has no traffic on it. Sometime back we had even enabled ICMP monitoring in F5 for both the nodes. The result showed no ICMP failure. Log messages show that pool member monitor status are frequently down for port 80. Any suggestions? Thanks Cheers!!!
    Monday, November 9, 2009 10:32 PM
  • User116999714 posted
    What I can also tell you that database is not an issue because when we try to access the database from a second live server (we have two, just incase on goes down) everything works perfectly.
    Monday, November 9, 2009 10:34 PM
  • User116999714 posted
    Here is an update. Today we discovered that we see the W3SVC-WP error in the event viewer and after that the site goes down exactly every 60 minutes. The error is not always a deadlock issue.
    Tuesday, November 10, 2009 1:39 PM