After the Windows update on May 2021, downloading a clickonce application fails for a customer with a proxy server

Moon Chung 6 Reputation points
2021-06-07T19:50:35.55+00:00

Hi

After 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                                             : 10.0.18363.0 (Win32NT)

            Common Language Runtime       : 4.0.30319.42000

            System.Deployment.dll                                : 4.8.4270.0 built by: NET48REL1LAST_C

            clr.dll                                     : 4.8.4300.0 built by: NET48REL1LAST_C

            dfdll.dll                                                 : 4.8.4270.0 built by: NET48REL1LAST_C

            dfshim.dll                                            : 10.0.18362.1 (WinBuild.160101.0800)

And they get the following error:

                           ...

                            --- Inner Exception ---

                            System.Net.WebException

                            - The remote server returned an error: (407) Proxy Authentication Required.

                            - Source: System

                            - Stack trace:

                                            at System.Net.HttpWebRequest.GetResponse()

                                            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

Downloading setup.exe works okay but then either downloading the rest of application from setup.exe or click {name of app}.application fails with (407) Proxy Authentication Required error.

If they go back a machine with a Windows 10 version before this update was applied, everything works okay.

Any idea how to address this issue?

Thanks

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,705 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,363 questions
0 comments No comments
{count} vote

4 answers

Sort by: Most helpful
  1. Candy Luo 12,711 Reputation points Microsoft Vendor
    2021-06-08T02:22:26.973+00:00

    Hi,

    Based on my understanding, after you patched the Windows update on May 2021, download application will get the error of (407) Proxy Authentication Required. Please feel free to let me know if I have any misunderstanding.

    In order to narrow down whether the issue is related with May 2021 updates, please go to one problematic machine and then one by one uninstall May 2021 updates. Check which KB is causing this issue. Then I would suggest you not to install this update temporarily. You could wait for the next monthly update patch (i.e. the update patch for June) and install it to see whether this issue will occur again.

    In addition, the Feedback Hub app lets you tell Microsoft about any problems you run in to while using Windows 10. You can report this issue to Microsoft directly with the Feedback Hub app.

    For more information on using the app, click here:

    Send feedback to Microsoft with the Feedback Hub app

    If this issue is urgent, I would also suggest you contact Microsoft Customer Support and Services where more in-depth investigation can be done so that you would get a more satisfying explanation and solution to this issue.

    You may find phone number for your region accordingly from the link below:

    https://support.microsoft.com/en-us/gp/customer-service-phone-numbers

    Best Regards,
    Candy

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. gwenael chailleu 1 Reputation point
    2021-06-10T15:45:26.503+00:00

    Hello,

    We have exactly the same issue. We tried with ntlm and kerberos, same result.
    We could as a test reconfigure our proxy to bypass the authentication step (see folowing commands) and clickonce installation succeded.

    acl testapp dstdomain .our.domain.pattern
    http_access allow testapp
    http_access allow CONNECT testapp

    Our tests seem to show that things went wrong with update KB4580419 ( installed on a Windows 10 2009).

    The problem is that we have tens of thousands clients , thousands of them use a proxy and we cannot decently ask them to reset it to get the latest version of our application...

    I supppose that clickonce is rather popular. I'm a bit surprised that this issue has not be reported more...

    Best Regards
    Gwen


  3. gwenael chailleu 1 Reputation point
    2021-08-16T11:54:23.247+00:00

    Hello,
    No, we have not progressed on this issue and we got no help from microsoft.
    We will try these days to use the latest dot net version to see if it helps...
    Regards
    Gwen

    0 comments No comments

  4. gwenael chailleu 1 Reputation point
    2021-08-19T10:14:45.243+00:00

    Hi,

    Migrating from .Net 4.5 to 4.8 did not make a change.
    Even if .Net 5 is announced to support clickOnce, we won't migrate to this version just to test an hypothesis...

    We used processMonitor to list the problems encountered while executing our setup.exe.
    We detected a missing key (*sidebyside/PreferExternalManifest) but the insertion of this key had no results.

    We create the following config file in the same folder as setup.exe...

    <system.net>
    <defaultProxy enabled = "true" useDefaultCredentials = "true">
    <proxy usesystemdefault ="true" />
    </defaultProxy>
    </system.net>

    The content of this file was correctly read since introducing xml errors in it led to proper parsing errors...

    So, what is the simplest conclusion ?

    that clickonce wont work behind a proxy anymore ?
    that we wont have any help on this issue ?

    It sounds totally crazy...

    Regards
    Gwen

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.