I have a winforms application that is utilizing click once to create the install which is pushed to a server. When clicking on the launch the xxxxx.application downloads. When running xxxxxx.application I get the following error:
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.18063
System.Deployment.dll : 4.0.30319.34280 built by: FX452RTMGDR
clr.dll : 4.0.30319.18063 built by: FX45RTMGDR
dfdll.dll : 4.0.30319.34280 built by: FX452RTMGDR
dfshim.dll : 4.0.41209.0 (Main.041209-0000)
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\xxxxxxxx\Downloads\xxxxxxxx-xxxxxxxx(1).application resulted in exception. Following failure messages were detected:
+ Downloading https://xxxxxxxx.com/xxxxxxxx/xxxxxxxx-xxxxxxxx.application did not succeed.
+ The request was aborted: Could not create SSL/TLS secure channel.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [12/5/2018 9:03:13 PM] : Activation of C:\Users\xxxxxxxx\Downloads\xxxxxxxx-xxxxxxxx(1).application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [12/5/2018 9:03:15 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading https://xxxxxxxx.com/xxxxxxxx/xxxxxxxx-xxxxxxxx.application 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.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
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.Net.WebException
- The request was aborted: Could not create SSL/TLS secure channel.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
In the similar question, earlier I raised this : What is this URL? Is it internal? Is it external? There are other things at play here - maybe a load balanced cluster is misbehaving? This does not really look like a deployment/ClickOnce issue to me. It could be very well Network/Infrastructure issue.
I downloaded and ran the exe two computers in the network and once computer outside of the network.
It worked on the computer outside of the network and one computer in the network.
I submitted a ticket to IT to see what they say.
Chinmay Patel
Great. Finally some progress.
CipherIS
ASKER
Chinmay,
Have a question. So, I recreated the install. The setup.exe downloads. I run it. I get to the crystal reports and I get the error there. This is what I noticed. Says it can't download from
This xxx part... are they two different URLs? or the same? This MSIs, can download stuff on demand as well. Could you please confirm that it is not trying to download from some other component i.e. some other dependency is triggering this download?
CipherIS
ASKER
The first issue is that the prerequisite is using
http
when it should be using
https
the xxxxx.com is correct
The next issue is after xxxx.com it points to
download
when it should point to
prodname
In the prerequisite i selected "download from specific location" and typed it in as when i selected "download from same location as my application" it was not pointing there.
Can't figure out where it is getting that path from
Chinmay Patel
Cipher... I am asking this question from the very beginning, please answer this correctly, this will help us get closer to the solution.
This URL... is of Crystal Report Server? or some other server?
This can happen due to one of the three reasons.
1. The client's computer's network connection is down.
2. The Web server, FTP server, or file share hosting the update is unavailable.
3. One or more of the files in the ClickOnce deployment was not found.
Regards,
Chinmay.