title: The remote server returned an unexpected response: (407) Proxy Authorization Required
body: <p>I am trying to connect to core service giving a particular user's credentials most of the time it works but sometimes I get proxy 407 error (as written in title of this question), this auto get resolved after 10-15 minutes and then I am able to connect to core service again. Is there a permanent solution for this issue? I know this is a simple question but I can't give credentials as System.Net.CredentialCache.DefaultCredentials; or as other solution available on web. Below is the code of my connection to core service, this problem occurs even if I call client.Close() after each operation.</p>
  
  <pre><code>core_service.ServiceReference1.SessionAwareCoreService2010Client client = new SessionAwareCoreService2010Client(); 
      client.ClientCredentials.Windows.ClientCredential.UserName = "myUserName"; 
      client.ClientCredentials.Windows.ClientCredential.Password = "myPassword"; client.Open();
  
   if (client.State == System.ServiceModel.CommunicationState.Opened)
              {
                  // some code                }
  </code></pre>