title: C# .net MVC, set path to Google Application Credentials JSON file
body: <p>I've just got this Google Sample Project to work on my VS2015,</p>
  
  <p>However, after I published to "IIS" and host it, when I opened the link, the web page kept showing this message as the picture showed</p>
  
  <p><img src="https://i.stack.imgur.com/ZfrMG.png" alt="Error Picture"></p>
  
  <p>I added the key to the web.config, but still doesn't work, just wondering if anyone had done this before, I really need help, thank you!</p>
  
  <p>Edit: Here is my code</p>
  
  <p>Web.Config</p>
  
  <pre><code>  &lt;appSettings&gt;
  &lt;!-- Set to your Google project id as shown on the Google Developers Console --&gt;
  &lt;add key="GoogleCloudSamples:ProjectId" value="gdtest-1332" /&gt;
  &lt;add key="GOOGLE_APPLICATION_CREDENTIALS" value="D:\ProjectCloud\gdtest-12323.json" /&gt;
  &lt;!--
  Set to either mysql or datastore.
  If using mysql, update the connectionString far below, and then run Update-Database in the
  Package Manager Console.
  --&gt;
  &lt;add key="GoogleCloudSamples:BookStore" value="datastore" /&gt;
  &lt;!-- Set to your Google Cloud Storage bucket --&gt;
  &lt;add key="GoogleCloudSamples:BucketName" value="cloudstoragetestbillez" /&gt;
  &lt;add key="webpages:Version" value="3.0.0.0" /&gt;
  &lt;add key="webpages:Enabled" value="false" /&gt;
  &lt;add key="ClientValidationEnabled" value="true" /&gt;
  &lt;add key="UnobtrusiveJavaScriptEnabled" value="true" /&gt;
  </code></pre>
  
  <p></p>