English 中文(简体)
ClickOnce: DeploymentDownloadException: The operation has timed out
原标题:

Symptom: ClickOnce installation starts and stops after around 600 kB (out of 2 MB).

Progress bar always stops at the same value (tried ten times).

Error log says that The operation has timed out (in inner exception) and fails with "DeploymentDownloadException (Unknown subtype)".

Error log details (irrelevant information trimmed):

ERROR DETAILS Following errors were detected during this operation. System.Deployment.Application.DeploymentDownloadException (Unknown subtype) - Downloading http://fullpath/name.dll.deploy did not succeed. - Source: System.Deployment - Stack trace: at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(Downloa dQueueItem next) at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles() at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState) --- Inner Exception --- System.Net.WebException - The operation has timed out. - Source: System - Stack trace: at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(Downloa dQueueItem next)


This only happens for two customers. The install works OK for thousands of others. I have found numerous posts via google with no answer or generic "firewall is the issue" or "customer was using dialup".

Has anyone solved this? Is this a ClickOnce bug?

最佳回答

Disabling firewall software on the machine did not help because a hardware firewall installed on the network was the cause (FortiGate 30B).

问题回答

I doubt that it s a bug. However, it seems like it gets stuck at one file in the deployment path. Maybe it is a type of file that is blocked by a firewall.

I would just remove all files but one from the build and see if that gets downloaded ok, and then add the rest of the files one by one (or maybe type by type) and see at what file ClickOnce gets stuck downloading.

If that doesn t seem to do anything, I d build a dummy app and deploy it with ClickOnce and see if it installs at all on the customer s box.





相关问题
VS 2008 : How to publish with out DLLs?

I have developed a web application in Visual Studio 2008 and want to publish it in to the production server. I see a publish option there.But its producing files with DLL. I dont want to publish only ...

Apache: Deploying a new site to the server

I have a site currently live on a domain. I would like to switch it to a new site, that is currently in a password protected sub directory on this server. I have a "Site Maintenance in Progress" page....

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Pylons deployment questions

I m a beginner with Pylons and I ve mostly developed on my localhost using the built-in web server. I think it s time to start deployment for my personal blog, I have a Debian Lenny server with ...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

Need advice on my PHP development solution

Here is how our current php development solution is set up: Each developer work on their local machine. Each developer commit their change to a common SVN server (intranet). A commit hook upload the ...

loading from JAR files during deployment vs development

when i am loading some data into my java program, i usually use FileInputStream. however i deploy the program as a jar file and webstart, so i have to use getRessource() or getRessourceAsStream() to ...

热门标签