title: Access is denied after deploying while accessing Google Drive Api
body: <p>Developing MVC application with Google OAuth to access drive API. While I was accessing Google API in the development environment it works just fine. But when I deploy it in IIS or Shared hosting it shows access denied with below exception. </p>
  
  <pre><code>[Win32Exception (0x80004005): Access is denied]
  
  
   System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) +602
     System.Diagnostics.Process.Start(ProcessStartInfo startInfo) +60
     Google.Apis.Auth.OAuth2.&lt;ReceiveCodeAsync&gt;d__14.MoveNext() +265
  
  [NotSupportedException: Failed to launch browser with "https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&amp;response_type=code&amp;client_id=1062976495544-dg9ak1e6uovp7p6gmlf1vcqvvq6mnefv.apps.googleusercontent.com&amp;redirect_uri=http:%2F%2Flocalhost:7862%2Fauthorize%2F&amp;scope=https:%2F%2Fwww.googleapis.com%2Fauth%2Fdrive" for authorization. See inner exception for details.]
     Google.Apis.Auth.OAuth2.&lt;ReceiveCodeAsync&gt;d__14.MoveNext() +1029
     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
     Google.Apis.Auth.OAuth2.&lt;AuthorizeAsync&gt;d__8.MoveNext() +730
     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
     Google.Apis.Auth.OAuth2.&lt;AuthorizeAsync&gt;d__4.MoveNext() +571
     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
     Google.Apis.Auth.OAuth2.&lt;AuthorizeAsync&gt;d__1.MoveNext() +438
  </code></pre>
  
  <p>Things I have tried : </p>
  
  <ol>
  <li>Verify Domain in google dev console.</li>
  <li>Change protocol from HTTP to
  https</li>
  </ol>