Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - VB.NET application cliick-once deployment via internet - Error - Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

Reply
 
Old 02-27-2008   #1 (permalink)
Peri


 
 

VB.NET application cliick-once deployment via internet - Error - Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

Dear All,

I have deployed VB.NET application at our client place using click once
deployment. If I download via LAN it is working fine. But if I download via
internet (very low bandwidth), exactly after one hour I am receiving this
error.

Can anyone please let me out to resolve this?

Regards,

Peri

Attached is the transcript of the error:

PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.832
System.Deployment.dll : 2.0.50727.832 (QFE.050727-8300)
mscorwks.dll : 2.0.50727.832 (QFE.050727-8300)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)

SOURCES
Deployment url : http://...Win.application
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET
Deployment Provider url : http://....application
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET
Application url : http://....Win.exe.manifest
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET

IDENTITIES
Deployment Identity : ClearVisionAgent.Win.application, Version=1.1.1.1,
Culture=neutral, PublicKeyToken=.....,

processorArchitecture=msil
Application Identity : ClearVisionAgent.Win.exe, Version=1.1.1.1,
Culture=neutral, PublicKeyToken=...,

processorArchitecture=msil, type=win32

APPLICATION SUMMARY
* Installable application.

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later
in the log.
* Activation of http://... .Win.application resulted in exception.
Following failure messages were detected:

+ Downloading http://..... 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.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [27-02-2008 11:17:05 AM] : Activation of http://....Win.application has
started.
* [27-02-2008 11:17:10 AM] : Processing of deployment manifest has
successfully completed.
* [27-02-2008 11:17:10 AM] : Installation of the application has started.
* [27-02-2008 11:17:27 AM] : Processing of application manifest has
successfully completed.
* [27-02-2008 11:17:35 AM] : Request of trust and detection of platform is
complete.

ERROR DETAILS
Following errors were detected during this operation.
* [27-02-2008 12:16:02 PM]
System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://....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)
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.




My System SpecsSystem Spec
Old 02-27-2008   #2 (permalink)
Steve Gerrard


 
 

Re: VB.NET application cliick-once deployment via internet - Error - Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

Peri wrote:
Quote:

>
> Deployment Provider url : http://....application
> Server : Microsoft-IIS/6.0
> X-Powered-By : ASP.NET
Quote:

> ERROR SUMMARY
>
> + Downloading http://..... deploy did not succeed.
> + Unable to read data from the transport connection: An existing
> connection was forcibly closed by the remote host.
It is really pretty clear to me. The server shut down the connection after an
hour, so the install did not complete. You could try and find the config files
on the ASP.Net server that might be limiting the connection time. Other than
that, either make a smaller installation, or get a faster connection.



My System SpecsSystem Spec
Old 02-29-2008   #3 (permalink)
Peri


 
 

Re: VB.NET application cliick-once deployment via internet - Error - Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

Thanks Steve, But can you please let me know which config file should I look
into and what is the parameter that I have to look for this config setting?

Thanks and Regards,

Peri

"Steve Gerrard" <mynamehere@xxxxxx> wrote in message
news:5vednThnCMH3F1janZ2dnUVZ_rWtnZ2d@xxxxxx
Quote:

> Peri wrote:
Quote:

>>
>> Deployment Provider url : http://....application
>> Server : Microsoft-IIS/6.0
>> X-Powered-By : ASP.NET
>
Quote:

>> ERROR SUMMARY
>>
>> + Downloading http://..... deploy did not succeed.
>> + Unable to read data from the transport connection: An existing
>> connection was forcibly closed by the remote host.
>
> It is really pretty clear to me. The server shut down the connection after
> an hour, so the install did not complete. You could try and find the
> config files on the ASP.Net server that might be limiting the connection
> time. Other than that, either make a smaller installation, or get a faster
> connection.
>
>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Access wireless internet connection host and VPC Virtual PC
Connection was dropped by the remote host .NET General
FTP Connection Closed Error .NET General
Remote Desktop Connection - Data Execution Prevention - Failure Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46