none
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

    Question

  • I'm getting the above error when I try to run the .application file from my IIS 6.0 server.  When I run Fiddler2 the error does not occur.  If I run the .application file from a fileshare the error does not occur.  After running the .application file from the fileshare the application runs fine if then accessed from the Web Server.  Here is the error log that is generated.  Any help would be greatly appreciated.


    PLATFORM VERSION INFO
     Windows    : 5.1.2600.196608 (Win32NT)
     Common Language Runtime  : 2.0.50727.3082
     System.Deployment.dll   : 2.0.50727.3053 (netfxsp.050727-3000)
     mscorwks.dll    : 2.0.50727.3082 (QFE.050727-3000)
     dfdll.dll    : 2.0.50727.3053 (netfxsp.050727-3000)
     dfshim.dll    : 2.0.50727.3053 (netfxsp.050727-3000)

    SOURCES
     Deployment url   : URL to .application File
          Server  : Microsoft-IIS/6.0
          X-Powered-By : ASP.NET
     Application url   : URL to .manifest File
          Server  : Microsoft-IIS/6.0
          X-Powered-By : ASP.NET

    IDENTITIES
     Deployment Identity  : MyApp.application, Version=1.0.0.85, Culture=neutral, PublicKeyToken=54c261d6f44ece63, processorArchitecture=msil
     Application Identity  : MyApp.exe, Version=1.0.0.85, Culture=neutral, PublicKeyToken=54c261d6f44ece63, processorArchitecture=msil, type=win32

    APPLICATION SUMMARY
     * Online only application.
     * Trust url parameter is set.
    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of URL to .application resulted in exception. Following failure messages were detected:
      + Downloading URL to .deploy did not succeed.
      + Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
      + An existing connection was forcibly closed by the remote host

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.

    OPERATION PROGRESS STATUS
     * [2/24/2009 12:12:18 PM] : Activation of URL to .application has started.
     * [2/24/2009 12:12:19 PM] : Processing of deployment manifest has successfully completed.
     * [2/24/2009 12:12:19 PM] : Installation of the application has started.
     * [2/24/2009 12:12:19 PM] : Processing of application manifest has successfully completed.
     * [2/24/2009 12:12:20 PM] : Request of trust and detection of platform is complete.

    ERROR DETAILS
     Following errors were detected during this operation.
     * [2/24/2009 12:12:20 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
      - Downloading URL to .deploy did not succeed.
      - Source: System.Deployment
      - Stack trace:
       at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
       at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
       at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
       at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
       at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
       at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
       at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
       at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
      --- Inner Exception ---
      System.IO.IOException
      - Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
      - Source: System
      - Stack trace:
       at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
      --- Inner Exception ---
      System.Net.Sockets.SocketException
      - An existing connection was forcibly closed by the remote host
      - Source: System
      - Stack trace:
       at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
       at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

    COMPONENT STORE TRANSACTION DETAILS
     No transaction information is available.



    • Changed type Bruce.Zhou Monday, March 02, 2009 2:03 PM Not followed up in time
    • Changed type Bruce.Zhou Tuesday, March 03, 2009 2:12 AM customer comes back
    Tuesday, February 24, 2009 7:24 PM

Answers

All replies