« Previous Next »

Thread: An existing connection was forcibly closed by the remote host

Last post 01-02-2009 1:42 AM by WenJun Zhang - MSFT. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 12-29-2008, 6:30 AM

    • sendreams
    • Not Ranked
    • Joined on 12-29-2008, 10:23 AM
    • Posts 2

    An existing connection was forcibly closed by the remote host

    An existing connection was forcibly closed by the remote host body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

    Server Error in '/IS/AjaxDemo' Application.

    An existing connection was forcibly closed by the remote host

    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: An existing connection was forcibly closed by the remote host

    Source 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.

    Stack Trace:

    [SocketException (0x2746): An existing connection was forcibly closed by the remote host]
    System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +7594687
    System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +275
    SuperMap.IS.ServiceInterface.IMapService.GetMapImage(MapParam mapParam) +0
    SuperMap.IS.Web.TcpMap.GetMapImage(MapParam mapParam) +96
    SuperMap.IS.AjaxControls.MapControl.GetMapImage(MapParam mapParam) +25
    SuperMap.IS.AjaxControls.MapControl.GetDefaultMapImageInternal() +360
    SuperMap.IS.AjaxControls.MapControl.GetDefaultMapParam() +43
    SuperMap.IS.AjaxControls.MapControl.OnLoad(EventArgs e) +88
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627



    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053


    when i first install win2008 & iis7 a mouth ago,the website run well, but today,show the error above, i don't understand the reason, the firewall has been closed already,so i added a Failed Request Tracing Rule,the whole log file can be download from here:

    http://tg7a60.mail.163.com/netfolder/servlet/nfapp/GetFile/fr000001.xml?sid=LBYNonhhGOUBKNhVGIhhXbSbBMywTdJI&mid=1tbikAjZAEVhbJ4BhAAAsS&save=1

    anyone can help me?

     

    in additional, when i create website in vs2008 and run in the asp.net development server,it's all ok! but deploy on iis7,it will show error.i think the problem is be relevant to iis7.

  • 12-29-2008, 3:05 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: An existing connection was forcibly closed by the remote host

    I would suggest using forums.asp.net for questions about AJAX.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 12-29-2008, 8:39 PM In reply to

    • sendreams
    • Not Ranked
    • Joined on 12-29-2008, 10:23 AM
    • Posts 2

    Re: An existing connection was forcibly closed by the remote host

     i don't think it's a ajax question but a iis7 problem.

  • 01-02-2009, 1:42 AM In reply to

    Re: An existing connection was forcibly closed by the remote host

    According to the error call stack and the exception, this is a socket connection error about your AJAX control, which is indeed nothing to do with IIS and HTTP. As Anil stated, you should post the problem to AJAX forum for more qualified help on it. Thanks.

    WenJun Zhang - MSFT
    Sincerely
    Microsoft Online Community Support

    “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. ”
Page 1 of 1 (4 items)
Microsoft Communities