Home All Groups Group Topic Archive Search About

ClickOnce and proxy 407 error

Author
8 Feb 2007 4:37 PM
Patrick31
Hello,

In our company, we would like to use ClickOnce which seems to be a very
efficient way to deploy application. So we made some small tests and we
quickly  found the problem of the proxy 407 Error.
We looked for any solution on the internet but we only found that we have to
contact the support to replace the file System.Deployment.dll on the local
..Net framework to make it work.  For the time being, we did not call the
support hoping there is another way to bypass this problem. We also tried to
configure the Localmachine.config file, but it did not work.

Do you know if a service pack for that will be available soon for the .Net
framework 2.0?
Do you have any news about this problem?

Thanks in advance for your answer,

Regards

Here is the Exception returned:
PLATFORM VERSION INFO
    Windows             : 5.0.2195.262144 (Win32NT)
    Common Language Runtime     : 2.0.50727.42
    System.Deployment.dll         : 2.0.50727.42 (RTM.050727-4200)
    mscorwks.dll             : 2.0.50727.42 (RTM.050727-4200)
    dfdll.dll             : 2.0.50727.42 (RTM.050727-4200)
    dfshim.dll             : 2.0.50727.42 (RTM.050727-4200)

SOURCES
    Deployment url            : http://serveur/ClickOnce/WindowsApplication2.application

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later
in the log.
    * Activation of http://Serveur/ClickOnce/WindowsApplication2.application
resulted in exception. Following failure messages were detected:
        + Downloading http://Serveur/ClickOnce/WindowsApplication2.application did
not succeed.
        + The remote server returned an error: (407) Proxy Authentication Required.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    There were no warnings during this operation.

OPERATION PROGRESS STATUS
    * [08/02/2007 17:13:26] : Activation of
http://Serveur/ClickOnce/WindowsApplication2.application has started.

ERROR DETAILS
    Following errors were detected during this operation.
    * [08/02/2007 17:13:27]
System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
        - Downloading http://Serveur/ClickOnce/WindowsApplication2.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.DownloadDeploymentManifestDirectBypass(SubscriptionStore
subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState,
IDownloadNotification notification, DownloadOptions options,
ServerInformation& serverInformation)
            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)
            at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
        --- 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)

COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.

AddThis Social Bookmark Button