When starting DebugDiag.Analysis.exe, you may encounter an error similar to the following. 



One or more errors occurred.
System.Net.WebException: The remote server returned an error: (407)
Proxy Authentication Required.
at System.Net.WebCIient.OpenRead(Uri address)
at System.Net.WebCIient.OpenRead(String address)
at DebugDiag.Analysis.AutoUpdate.GetWebContent(String pathToLatestFiIes)
at DebugDiag.Analysis.AutoUpdate.IsHostProcessOutOfDate_http(String pathToLatestFiIes, Boolean throwIfFileMissing)
at DebugDiag.Analysis.AutoUpdate.IsHostProcessOutOfDate(String pathToLatestFiIes, Boolean throwIfFileMissing)
at DebugDiag.Analysis AutoUpdateVM.CheckForUpdatesInternal()
at Debug Diag.Analysis.AutoUpdateVM.CheckAndInstallUpdatesInternal()
at DebugDiag.Analysis.AutoUpdateVM.<CheckAndInstallUpdates>b__5()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()


This error occurs while trying to check online for updated versions of DebugDiag, if the system is configured to use a proxy server that requires authentication.  DebugDiag does not send credentials to the proxy server, and the proxy server responds with the 407 error.  The error can be safely ignored, as the application functions normally after dismissing the message box.  However, the user will not be notified of updates when they are available.  To workaround the problem, the following element can be added to the DebugDiag.Analysis.exe.config file.  You can insert the snippet below just before the closing </configuration> element at the end of the file.  This will cause DebugDiag to authenticate to the proxy server using the credentials of the logged on user.

  <defaultProxy useDefaultCredentials="true"/>