C # Windows Forms application update on application launch

My application has been successfully updated for centuries, and I made changes, releasing new builds, etc. every day for the past few months, but now that the application starts (it checks for updates at startup), it starts by downloading the updated version from the server, and then skipping three quarters of the way with the following message:

PLATFORM VERSION INFORMATION Windows: 6.1.7600.0 (Win32NT) Common Language Runtime: 4.0.30319.1 System.Deployment.dll: 4.0.30319.1 (RTMRel.030319-0100) clr.dll: 4.0.30319.1 (RTMRel.030319-0100) dfdll .dll: 4.0.30319.1 (RTMRel.030319-0100) dfshim.dll: 4.0.31106.0 (Main.031106-0000)

SOURCES Deployment URL: File: /// C: /Users/Jason/Desktop/OOM.appref-ms%7C Server: Microsoft-IIS / 7.0 X-Powered-By: ASP.NET Deployment Provider URL: http : //www.website.net.au/software/updates/something/OOM.application   Application URL: http://www.website.net.au/software/updates/something/jusername/Application%20Files/OOM_2_0_0_8/OOM .exe.manifest                       Server: Microsoft-IIS / 7.0 X-Powered-By: ASP.NET

IDENTIFICATIONS Application Identification: OOM.exe, Version = 2.0.0.8, Culture = Neutral, PublicKeyToken = 38928ec70a12c5e6, processorArchitecture = x86, type = win32

, . * C:\Users\Jason\Desktop\One Stop Management.appref | . : + http://www.website.net.au/software/updates/something/jusername/Application/OOM_2_0_0_8/One Stop Management.exe.config . + : (404) .

.

.

* [18/02/2011 5:55:50 PM]: C:\Users\Jason\Desktop\One Stop Management.appref | . * [18/02/2011 5:55:50 PM]: , . * [18/02/2011 5:55:51 PM]: . * [18/02/2011 5:55:52 PM]: . * [18/02/2011 5:55:53 PM]: . * [18/02/2011 5:55:53 PM]: 4.0.30319. * [18/02/2011 5:55:53 PM]: .

. * [18/02/2011 5:55:54 PM] System.Deployment.Application.DeploymentDownloadException( )       - http://www.website.net.au/software/updates/something/jusername/Application/OOM_2_0_0_8/One Stop Management.exe.config .       - : System.Deployment       - : System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem ) System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()            System.Deployment.Application.FileDownloader.Download(SubscriptionState subState) System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownload, DownloadOptions). System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory & downloadTemp) System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState & subState, ActivationDescription actDesc) System.Deployment.Application.ApplicationActivator.ConsumeUpdatedDeployment(SubscriptionState & subState, ActivationDescription actDesc) System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState & subState, String & errorPageUrl) System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String & errorPageUrl, TempFile & deployFile) System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, & errorPageUrl) System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker( ) --- ---       System.Net.WebException       - : (404) .      - :       - : System.Net.HttpWebRequest.GetResponse()            System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem )

   .

, , . , .

- , ?

!

+3
2

IIS *.config , web.config ASP, , . Click-Once, .deploy , *.config *.config.deploy . One Stop Management.exe.config - ? .deploy , . , IIS, .

+1

.

, x.y.z.14, , x.y.z.33, . x.y.z.14, ClickOnce.

, , HTTP-, , , , 404 , , x.y.z.33 , . .

, , , , , .

0

Source: https://habr.com/ru/post/1792981/


All Articles