title: Google Content API for Shopping - Credentials work fine locally but not on live server
body: <p>I have taken the sample code from:</p>
  
  <p><a href="https://developers.google.com/shopping-content/developers-guide-dotnet" rel="nofollow">https://developers.google.com/shopping-content/developers-guide-dotnet</a></p>
  
  <pre><code>ContentForShoppingService service = 
      new ContentForShoppingService("ContentForShopping-Sample");
  service.setUserCredentials(GoogleUsername, GooglePassword);
  
  service.AccountId = GoogleAccountID;
  </code></pre>
  
  <p>I also used sample code from <a href="https://code.google.com/p/google-gdata/source/browse/trunk/clients/cs/samples/contentforshopping_sample/contentforshoppingsample.cs?r=1067" rel="nofollow">https://code.google.com/p/google-gdata/source/browse/trunk/clients/cs/samples/contentforshopping_sample/contentforshoppingsample.cs?r=1067</a></p>
  
  <p>I am using the Google Merchant email address/password and the Merchant ID for the above. I then locate one of our products using:</p>
  
  <pre><code>entry = service.Get("en", "gb", ProductID);
  </code></pre>
  
  <p>This works fine on my local server. I can then update the product by manipulating its properties, and then calling:</p>
  
  <pre><code>service.Update(entry);
  </code></pre>
  
  <p>Now, the problem is that when I run this on our live server it fails with:</p>
  
  <pre><code>Exception Details: 
      Google.GData.Client.InvalidCredentialsException: Invalid credentials
  </code></pre>
  
  <p>What are the reasons for the same credentials working on one PC and not on another?</p>
  
  <p>Should I be using another method to submit my credentials? I found the alternative methods bewildering and I could find no other sample code that works specifically with <code>ContentForShoppingService</code>.</p>
  
  <ul>
  <li>The local PC is running Windows 7</li>
  <li>The problematic live server is running Windows Server 2008 R2</li>
  </ul>
  
  <p><strong>Update</strong></p>
  
  <p>I have taken the same code and put it inside a Windows Form Application. This application runs fine on all other machines I've tried it on, except for the live servers that we use. This would make me think that this is a security software/firewall issue of some kind...</p>
  
  <p>Any ideas?!</p>