Answered Server Timing Out.

  • Friday, June 03, 2011 12:48 AM
     
     

    We have 2003 Windows Server and from time to time, we get the following error:

     

    An unhandled exception was generated during the execution of the current web request.
    Information regarding the origin and location of the exception can be identified
    using the exception stack trace below.

     

    We have a stack trace output (can provide) and the following components:

    Version Information: Microsoft .NET Framework Version:2.0.50727.3620;
    ASP.NET Version:2.0.50727.3618

    The nitty gritty of this is the following:

    Server Error in '/' Application.
    No connection could be made because the target machine actively refused it 127.0.0.1:8889
    Description: An unhandled exception occurred during the execution of
    the current web request. Please review the stack trace
    for more information about the error and where it originated in the code.

     

    Exception Details: System.Net.Sockets.SocketException:
    No connection could be made because the target machine actively refused it 127.0.0.1:8889

    To me, it looks like port 8889 is not responding. Any ideas how to fix this?

    Jeff

All Replies

  • Friday, June 03, 2011 4:12 PM
     
     

    If you receive "Server Error in '/' Application." it is probably an ASP web page.

    The issue looks like IIS configuration, or possibly a firewall issue.

    This forum is for PHP and SQL Server, so it might be best to ask on a different forum.


    Rob
  • Thursday, June 09, 2011 7:47 AM
     
     Answered

    Hi Jeff,

    Could you please elaborate a bit on your scenario? It seems that your application connects to SQL Server via TCP/IP, if so, you can refer to the following blog post to troubleshoot the issue:

    TCP Provider: No connection could be made because the target machine actively refused it

     


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Get or Request Code Sample from Microsoft
    If you have any feedback, please tell us.
    • Marked As Answer by KJian_ Monday, June 13, 2011 8:08 AM
    •