locked
Im struggling with Checking for updates RRS feed

  • Question

  • Hi all, 

    this has been stressing me out for days. I have deployed the software to my website. It installs file. But when I want it to check for updates at start, it keeps trying to update from an older folder by the looks of thigs.

    Assembly version: 1.3.8.0 (this doesnt help when i change it)
    Publish Version: 1.3.8.1 (this doesnt help when i change it)


    Here is the log file

    PLATFORM VERSION INFO
    Windows : 10.0.19041.0 (Win32NT)
    Common Language Runtime : 4.0.30319.42000
    System.Deployment.dll : 4.8.4240.0 built by: NET48REL1LAST_B
    clr.dll : 4.8.4220.0 built by: NET48REL1LAST_C
    dfdll.dll : 4.8.4240.0 built by: NET48REL1LAST_B
    dfshim.dll : 10.0.19041.1 (WinBuild.160101.0800)

    SOURCES
    Deployment url : file:///C:/Users/lczap/AppData/Roaming/Microsoft/Windows/Start%20Menu/Programs/Lukasz%20Czapla/LukeAirTool/LukeAirTool.appref-ms%7C
    Server : nginx/1.17.6
    Deployment Provider url : http://lukecmedia.com/LukeAirTool/SOFTWARE/updater/LukeAirTool.application

    ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\lczap\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Lukasz Czapla\LukeAirTool\LukeAirTool.appref-ms| resulted in exception. Following failure messages were detected:
    + Downloading http://lukecmedia.com/LukeAirTool/SOFTWARE/updater/Application Files/LukeAirTool_1_2_0_26/LukeAirTool.exe.manifest did not succeed.
    + The remote server returned an error: (404) Not Found.

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

    WARNINGS
    There were no warnings during this operation.

    OPERATION PROGRESS STATUS
    * [22/09/2020 12:21:36] : Activation of C:\Users\lczap\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Lukasz Czapla\LukeAirTool\LukeAirTool.appref-ms| has started.
    * [22/09/2020 12:21:36] : Performing necessary update check as specified by the deployment.
    * [22/09/2020 12:21:37] : Consuming new update.
    * [22/09/2020 12:21:38] : Installation of the application has started.

    ERROR DETAILS
    Following errors were detected during this operation.
    * [22/09/2020 12:21:38] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
    - Downloading http://lukecmedia.com/LukeAirTool/SOFTWARE/updater/Application Files/LukeAirTool_1_2_0_26/LukeAirTool.exe.manifest 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, X509Certificate2 clientCertificate)
    at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
    at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
    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.ConsumeUpdatedDeployment(SubscriptionState& subState, ActivationDescription actDesc)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState& subState, String& errorPageUrl)
    at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(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 remote server returned an error: (404) Not Found.
    - 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.


    Tuesday, September 22, 2020 11:26 AM

All replies

  • Hi Lukec88,

    Thank you for posting here.

    According to your description, I have some questions to confirm with you.

    What's the type of your application?

    >>- The remote server returned an error: (404) Not Found.

    Could you provide  some related code and more details about the exception here?

    We are waiting for your update.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, September 23, 2020 7:13 AM