Asp.net mvc 4 新SPA MVC 4应用程序中的OpenID抛出VerficationException-操作可能会破坏运行时的稳定性

Asp.net mvc 4 新SPA MVC 4应用程序中的OpenID抛出VerficationException-操作可能会破坏运行时的稳定性,asp.net-mvc-4,openid,intellitrace,verificationexception,Asp.net Mvc 4,Openid,Intellitrace,Verificationexception,通过SPA模板开始一个新项目。遵循cookbook使用Google OpenID。用户界面现在显示一个带有谷歌链接的按钮。。。单击调用VerfiyAuthentication的链接会抛出一个verificationexception。操作可能会使运行时不稳定 搜索这个异常导致我有很多不同的死胡同 =================================================来自asp.net错误================================= 操作可能会使运

通过SPA模板开始一个新项目。遵循cookbook使用Google OpenID。用户界面现在显示一个带有谷歌链接的按钮。。。单击调用VerfiyAuthentication的链接会抛出一个verificationexception。操作可能会使运行时不稳定

搜索这个异常导致我有很多不同的死胡同

=================================================来自asp.net错误=================================

操作可能会使运行时不稳定

描述:执行当前web请求期间发生未处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源

异常详细信息:System.Security.VerificationException:操作可能会使运行时不稳定

源错误:

第226行:公共操作结果ExternalLoginCallback(字符串returnUrl) 第227行:{ 第228行:AuthenticationResult=OAuthWebSecurity.VerifyAuthentication(Url.Action(“ExternalLoginCallback”,new{ReturnUrl=ReturnUrl})); 第229行:如果(!result.IsSuccessful) 第230行:{

源文件:c:\Users\weidson\Documents\Visual Studio 2012\Projects\MVCAPApplication5\MVCAPApplication5\Controllers\AccountController.cs行:228

堆栈跟踪:

[验证异常:操作可能会破坏运行时的稳定性。] DotNetOpenAuth.OpenId.Messages.IndirectSignedResponse.GetSignedMessageParts(通道)+991 DotNetOpenAuth.OpenId.ChannelElements.ExtensionsBindingElement.GetExtensionsDictionary(IProtocolMessage消息,布尔ignoreUnsigned)+313 DotNetOpenAuth.OpenId.ChannelElements.d_ua.MoveNext()+274 DotNetOpenAuth.OpenId.ChannelElements.ExtensionsBindingElement.ProcessIncomingMessage(IProtocolMessage消息)+598 DotNetOpenAuth.Messaging.Channel.ProcessIncomingMessage(IProtocolMessage消息)+1119 DotNetOpenAuth.OpenId.ChannelElements.OpenIdChannel.ProcessIncomingMessage(IProtocolMessage消息)+398 DotNetOpenAuth.Messaging.Channel.ReadFromRequest(HttpRequestBase httpRequest)+705 DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.GetResponse(HttpRequestBase httpRequestInfo)+299 DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.GetResponse()+379 DotNetOpenAuth.AspNet.Clients.OpenIdClient.VerifyAuthentication(HttpContextBase上下文)+183 DotNetOpenAuth.AspNet.OpenAuthSecurityManager.VerifyAuthentication(字符串返回URL)+1243 Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.VerifyAuthenticationCore(HttpContextBase上下文,字符串返回URL)+174 Microsoft.Web.WebPages.OAuth.OAuthWebSecurity.VerifyAuthentication(字符串返回URL)+139 c:\Users\weidson\Documents\Visual Studio 2012\Projects\MVCAPApplication5\MVCAPApplication5\Controllers\AccountController.ExternalLoginCallback(字符串返回URL)中的MVCAPApplication5.Controllers.AccountController.ExternalLoginCallback(字符串返回URL):228 lambda_方法(闭包、控制器基、对象[])+181 System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase控制器,对象[]参数)+59 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext ControllerContext,IDictionary
2参数)+437
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext ControllerContext,ActionDescriptor ActionDescriptor,IDictionary
2个参数)+60 System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeSynchronousActionMethod(ControllerContext ControllerContext,ActionDescriptor ActionDescriptor,IDictionary
2参数)+50
System.Web.Mvc.Async.c__显示类42.b__41()+75
System.Web.Mvc.Async.c_uuudisplayClass8
1.b_uuu7(IAsyncResult)+44 System.Web.Mvc.Async.WrappedAsyncResult
1.End()+140
System.Web.Mvc.Async.asyncResultRapper.End(IAsyncResult asyncResult,对象标记)+102
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)+49
System.Web.Mvc.Async.c__显示类39.b__33()+126
System.Web.Mvc.Async.c__DisplayClass4f.b__49()+323
System.Web.Mvc.Async.c__DisplayClass4f.b__49()+323
System.Web.Mvc.Async.c__显示类37.b__36(IAsyncResult asyncResult)+44
System.Web.Mvc.Async.WrappedAsyncResult
1.End()+140 System.Web.Mvc.Async.asyncResultRapper.End(IAsyncResult asyncResult,对象标记)+102 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)+50 System.Web.Mvc.Async.c_DisplayClass2a.b_20()+68 System.Web.Mvc.Async.c_DisplayClass25.b_22(IAsyncResult asyncResult)+184 System.Web.Mvc.Async.WrappedAsyncResult
1.End()+137
System.Web.Mvc.Async.asyncResultRapper.End(IAsyncResult asyncResult,对象标记)+56
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)+40
System.Web.Mvc.c_uuudisplayClassId.b_uuu18(IAsyncResult asyncResult)+40
System.Web.Mvc.Async.c__显示类4.b__3(IAsyncResult ar)+47
System.Web.Mvc.Async.WrappedAsyncResult
1.End()+152 System.Web.Mvc.Async.asyncResultRapper.End(IAsyncResult asyncResult,对象标记)+59 System.Web.Mvc.Async.asyncResultRapper.End(IAsyncResult asyncResult,对象标记)+40 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)+44 System.Web.Mvc.Async.c_DisplayClass4.b__3(IAsyncResult ar)+47 System.Web.Mvc.Async.WrappedAsyncResult
1.End()+152
System.Web.Mvc.Async.asyncResultRapper.End(IAsyncResult asyncResult,对象标记)+59
System.Web.Mvc.Async.asyncResultRapper.End(IAsyncResult asyncResult,对象标记)+40
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)+39
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)+39
System.Web.Mvc.c_uuuudisplayClass8.b_uuuu3(IAsyncResult asyncResult)+45
System.Web.Mvc.Async.c\uuu DisplayClass4.b\uu 3(IAsyncResult