Windows 10: ClickOnce app fails to update when started.

Discus and support ClickOnce app fails to update when started. in Windows 10 Software and Apps to solve the problem; I have a ClickOnce app that will not update itself when it's starting. I can force it to update itself by removing the cache folder at... Discussion in 'Windows 10 Software and Apps' started by DavidLittle-CXv, Sep 29, 2021.

  1. ClickOnce app fails to update when started.


    I have a ClickOnce app that will not update itself when it's starting. I can force it to update itself by removing the cache folder at %userprofile%\Local\Apps\2.0, but that's really a reinstall. It worked fine in the past, but seems to have stopped once I signed it with a SHA1 .pfx. The app is installed from an external site, the appref-ms file stored at %userprofile%\OneDrive\Desktop points to the appropriate .application file as well.Any ideas from anyone? thank you!- David

    :)
     
    DavidLittle-CXv, Sep 29, 2021
    #1

  2. Windows 10 fails to update


    When you finish testing the Avast suggestion, make sure that you restart your machine.

    Then if the issue persists, please return to the trouble shooting list in post# 89

    I think there are three steps that remain; the WU troubleshooter, reset WU components, and manual WU reset.
     
    Slartybart, Sep 29, 2021
    #2
  3. AsRock Win User
    Windows Updates failed to instal

    I'm not sure how differant XP media center Edition is but you could clear the history \ cache if these folders are there.

    Step 1 Register DLL files.

    =================

    By trying this step, we can check if the update engines are working properly.



    1. Close all instances of Internet Explorer.

    2. Click Start and Run, type "Regsvr32 atl.dll" (without quotes) in the Open box and click OK.



    Note: There is a space between regsvr32 and atl.dll



    3. Similarly, one by one, register the files listed below:



    Regsvr32 msxml3.dll

    Regsvr32 wuapi.dll

    Regsvr32 wuaueng.dll

    Regsvr32 wuaueng1.dll

    Regsvr32 wups2.dll

    Regsvr32 wucltui.dll

    Regsvr32 wups.dll

    Regsvr32 wuweb.dll

    Regsvr32 qmgr.dll

    Regsvr32 qmgrprxy.dll

    Regsvr32 jscript.dll



    Note: If you encounter errors while registering any of these files then skip that file and continue with the next one.



    If the issue persists, let's move on to the steps below to verify Windows Update services and temporary folders.



    Step 2 Verify the relevant Windows Update services.

    =========================================

    1. Click Start->Run, type "services.msc" (without quotation marks) in the open box and click OK.

    2. Double click the service "Automatic Updates".

    3. Click on the Log On tab, please ensure the option "Local System account" is selected and the option "Allow service to interact with desktop" is unchecked.

    4. Check if this service has been enabled on the listed Hardware Profile. If not, please click the Enable button to enable it.

    5. Click on the tab "General "; make sure the "Startup Type" is "Automatic" or "Manual". Then please click the button "Stop" under "Service Status" to stop the service.

    6. Then please click the button "Start" under "Service Status" to start the service.

    7. Please repeat the above steps with the other services:



    Background Intelligent Transfer Service

    Event Log

    Remote Procedure Call (RPC)



    Note: Event log service is enabled on all of the hardware profiles; this service does not have an option to enable or disable on certain hardware profile.



    If it still does not help, let's proceed to step 3.



    Step 3 Reload the Update temporary folders.

    ===================================

    One possible cause is that the temporary folder for Windows Update is containing corrupted files. Let's erase all the files there to get the system clean.



    1. Click Start, Run, type: cmd and press Enter. Please run the following command in the opened window.



    Net stop WuAuServ



    2. Click Start, Run, type: %windir% and press Enter.

    3. In the opened folder, rename the folder SoftwareDistribution to Sdold.

    4. Click Start, Run, type: cmd and press Enter. Please run the following command in the opened window.



    Net start WuAuServ



    Please test the Windows Update website and let me know the result. If the issue persists, to clarify the issue and provide more accurate troubleshooting steps, please assist me in collecting the following information.
     
    AsRock, Sep 29, 2021
    #3
  4. ClickOnce app fails to update when started.

    Clickonce install fails with ARP entry in registry not found

    Hi Pete,



    Thank you for writing to Microsoft Community Forums.



    Please follow the troubleshooting steps mentioned in Fix problems
    that block programs from being installed or removed
    and check if this helps.



    If you are still facing the same issue, then I suggest you to post query in
    MSDN forums, where we have support professionals who are well equipped with the knowledge on ClickOnce application.



    Hope it helps.
     
    Shafeeq_Khan, Sep 29, 2021
    #4
Thema:

ClickOnce app fails to update when started.

Loading...
  1. ClickOnce app fails to update when started. - Similar Threads - ClickOnce app fails

  2. How to start ClickOnce Program using Task Scheduler

    in Windows 10 Gaming
    How to start ClickOnce Program using Task Scheduler: I'm trying to start a clickonce application from the task scheduler but nothing I try works.Using a simple exaple as runningC:\Windows\System32\rundll32.exe dfshim.dll,ShOpenVerbApplication http://domain.tld/MyApp.applicationIf I run the command from Run or from a command...
  3. How to start ClickOnce Program using Task Scheduler

    in Windows 10 Software and Apps
    How to start ClickOnce Program using Task Scheduler: I'm trying to start a clickonce application from the task scheduler but nothing I try works.Using a simple exaple as runningC:\Windows\System32\rundll32.exe dfshim.dll,ShOpenVerbApplication http://domain.tld/MyApp.applicationIf I run the command from Run or from a command...
  4. Clickonce and .NET 9

    in Windows 10 BSOD Crashes and Debugging
    Clickonce and .NET 9: Hi, After updating our application to use .NET 9 previously .NET framework 4.8 the clickonce application manifest creation shows error like this: "Internal error, please try again. Object reference not set to an instance of an object. Cmd.exe exited with code '2'." Is there...
  5. After updating Clickonce today, it won't run.

    in Windows 10 Software and Apps
    After updating Clickonce today, it won't run.: We distribute our product using ClickOnce, based on .NET Framework 4.0. I conducted an update for my product today, but many users encountered issues where it wouldn't launch after the update.After trying various methods, I found that following the steps outlined in this...
  6. Signed ClickOnce app always flags as unsafe.

    in Windows 10 Software and Apps
    Signed ClickOnce app always flags as unsafe.: I am distributing a ClickOnce app via an external website. it is properly signed with a Sectigo key, but Windows always flags it with a warning and my users have to say "run anyway". I saw somewhere that that message would go away as the app accumulated some "security...
  7. After the Windows update on May 2021, downloading a clickonce application fails for a customer

    in Windows 10 Network and Sharing
    After the Windows update on May 2021, downloading a clickonce application fails for a customer: HiAfter the Windows update on May 2021, downloading a clickonce application fails for a customer with a proxy server.On the error log, the platform version info is as following:PLATFORM VERSION INFO Windows :...
  8. ClickOnce Install failing with "The network path was not found"

    in Windows 10 Network and Sharing
    ClickOnce Install failing with "The network path was not found": We have users setup around the world. We have an app that is deployed via ClickOnce. For the majority of our users this app deploys and installs fine when they run the setup.exe from the server. However, one region is getting the error "the network path was not found"....
  9. How to start ClickOnce Program using Task Scheduler

    in Windows 10 Customization
    How to start ClickOnce Program using Task Scheduler: I have tried several different techniques to start a ClickOnce application using Windows 10 Task Scheduler. None of them are satisfactory. For some of the attempts, the program doesn't seem to start There is no indication in Event Log or Task Schedule History that there was...
  10. Clickonce install fails with ARP entry in registry not found

    in Windows 10 Software and Apps
    Clickonce install fails with ARP entry in registry not found: I cannot install a Clickonce application to a Win 10 Machine. The same app installs fine to other machines. Here is the pertinent part of the log file: COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected. WARNINGS There were no warnings...