locked
Visual Studio IIS 7s result is a Forbidden EndGetResponses error RRS feed

  • Question

  • Hi Friends,

    I created and entered the Client Google authenticate data for the GoogleApisSimple project Tasks.ASP.NET.SimpleOAuth. Upon running the Web app, the Google site does accept the authentication; So, I think the defaults settings for IIS 7 are generating the error:

    Top of Form

    The request
    'Google.Apis.Requests.Request(list @
    https://www.googleapis.com/tasks/v1/users/@me/lists?alt=json&prettyPrint=true)'
    has failed. The service tasks has thrown an exception: Google.GoogleApiRequestException:
    Google.Apis.Requests.RequestError

    Access Not Configured [403]

    Errors [

    Message[Access Not Configured] Location[ - ] Reason[accessNotConfigured]
    Domain[usageLimits]

    ]

    ---> System.Net.WebException: The remote server returned an error: (403)
    Forbidden.

    at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

    at Google.Apis.Requests.Request.InternalEndExecuteRequest(IAsyncResult
    asyncResult) in
    c:\googlecode\11-23-2011\default\Src\GoogleApis\Apis\Requests\Request.cs:line
    326

    --- End of inner exception stack trace ---

    at Google.Apis.Requests.Request.AsyncRequestResult.GetResponse() in
    c:\googlecode\11-23-2011\default\Src\GoogleApis\Apis\Requests\Request.cs:line
    300

    at Google.Apis.Requests.ServiceRequest`1.GetResponse() in c:\googlecode\11-23-2011\default\Src\GoogleApis\Apis\Requests\ServiceRequest.cs:line
    183

    at Google.Apis.Requests.ServiceRequest`1.Fetch() in
    c:\googlecode\11-23-2011\default\Src\GoogleApis\Apis\Requests\ServiceRequest.cs:line
    203

    at Tasks.ASP.NET.SimpleOAuth2._Default.FetchTaskslists() in
    C:\Users\Public\Google API\Tasks.ASP.NET.SimpleOAuth2\Default.aspx.cs:line 116


    Bottom of Form

    © 2011 Google Inc

    How can I configure the Web site to accept Forbidden EndGetResponses?

    Thanks,

    King


    • Moved by Helen Zhou Monday, February 13, 2012 2:03 AM (From:Visual Studio Setup and Installation)
    Saturday, February 11, 2012 7:40 PM

Answers

  • Hi King Coffee,

    This question has few relation to Visual Studio Installation, you'd better post it on http://forums.asp.net/  to get better support.
    Thank you for your understanding.

    Sincerely,

    Helen Zhou [MSFT]
    MSDN Community Support | Feedback to us

    • Marked as answer by King Coffee Thursday, June 13, 2013 10:43 AM
    Monday, February 13, 2012 2:02 AM