You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on C# MVC web application . In this application I am integrating google drive and using Google.Apis (version- 1.19.0.0). For this implementation I have taken the reference from your sample code and have implemented successfully in my application. During testing I have found that it is working fine when I run directly this from visual studio but when I deployed this on IIS (even local IIS) it is not working. After investigation I have found that it is giving problem in authentication and not trigger the authenticate screen with Gmail account. Mainly giving me on this below line :
Nothing has happened after this line (no error) . Kindly help me on this . How I can solve this problem? Is there any setting in IIS that I need to set for this ?
Some trouble shooting I already done like :
Given permission to folder (that store the outh response ). Like asp.net users .
Tried with both folder default roaming folder and custom folder (for store the outh response)
Let me know if you want more information from my side.
Best regards,
Sunil Sharma
The text was updated successfully, but these errors were encountered:
I cant help to much I am not all that experienced with web applications. I can tell you that the problem is that IIS probably doesn't have permissions to write to what ever directory you are trying to save the credentials in. If memory services this has something to do with the application pool that IIS is running on but i cant remember more then that.
Hi,
I am working on C# MVC web application . In this application I am integrating google drive and using Google.Apis (version- 1.19.0.0). For this implementation I have taken the reference from your sample code and have implemented successfully in my application. During testing I have found that it is working fine when I run directly this from visual studio but when I deployed this on IIS (even local IIS) it is not working. After investigation I have found that it is giving problem in authentication and not trigger the authenticate screen with Gmail account. Mainly giving me on this below line :
UserCredential credential = GoogleWebAuthorizationBroker.AuthorizeAsync(new ClientSecrets {ClientId = clientId, ClientSecret = clientSecret} , scopes , userName , CancellationToken.None
, new FileDataStore(folder,true)).Result;
Nothing has happened after this line (no error) . Kindly help me on this . How I can solve this problem? Is there any setting in IIS that I need to set for this ?
Some trouble shooting I already done like :
Let me know if you want more information from my side.
Best regards,
Sunil Sharma
The text was updated successfully, but these errors were encountered: