VB.NET application cliick-once deployment via internet - Error - Unable to read data from the transp

P

Peri

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

Steve Gerrard

Peri said:
Deployment Provider url : http://....application
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET
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.
 
P

Peri

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top