Server Error in '/' Application.

The remote server returned an error: (404) Not Found.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote server returned an error: (404) Not Found.

Source Error:


Line 407:            Session["signinmode"] = "google";
Line 408:            WebConsumer google = new WebConsumer(GoogleConsumer.ServiceDescription, TokenManagerGoo);
Line 409:            GoogleConsumer.RequestAuthorization(google, GoogleConsumer.Applications.Contacts);
Line 410:        }
Line 411:    }

Source File: d:\hst\pvobr-iis_0f6ccc17\http\auth.aspx.cs    Line: 409

Stack Trace:


[WebException: The remote server returned an error: (404) Not Found.]
   System.Net.HttpWebRequest.GetResponse() +5430733
   DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse(HttpWebRequest request, DirectWebRequestOptions options) +93

[ProtocolException: Error occurred while sending a direct message or getting the response.]
   DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse(HttpWebRequest request, DirectWebRequestOptions options) +914
   DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse(HttpWebRequest request) +6
   DotNetOpenAuth.Messaging.Channel.GetDirectResponse(HttpWebRequest webRequest) +37
   DotNetOpenAuth.Messaging.Channel.RequestCore(IDirectedProtocolMessage request) +324
   DotNetOpenAuth.Messaging.Channel.Request(IDirectedProtocolMessage requestMessage) +92
   DotNetOpenAuth.Messaging.Channel.Request(IDirectedProtocolMessage requestMessage) +40
   DotNetOpenAuth.OAuth.ConsumerBase.PrepareRequestUserAuthorization(Uri callback, IDictionary`2 requestParameters, IDictionary`2 redirectParameters, String& requestToken) +138
   DotNetOpenAuth.OAuth.WebConsumer.PrepareRequestUserAuthorization(Uri callback, IDictionary`2 requestParameters, IDictionary`2 redirectParameters) +24
   DotNetOpenAuth.ApplicationBlock.GoogleConsumer.RequestAuthorization(WebConsumer consumer, Applications requestedAccessScope) +230
   auth.signInGoogle_Click(Object sender, EventArgs e) in d:\hst\pvobr-iis_0f6ccc17\http\auth.aspx.cs:409
   auth.Page_Load(Object sender, EventArgs e) in d:\hst\pvobr-iis_0f6ccc17\http\auth.aspx.cs:98
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062