使用社交网站在asp.net,c#,framework 4.5中注册的问题 [英] problem in using social sites for sign up in asp.net , c# , framework 4.5
问题描述
我正在尝试使用带有谷歌帐户的SIgnUp的asp.net 4.5框架的给定模板功能
....这与...相同/>
http://blogs.msdn.com/b/webdev/archive/2012/09/12/integrate-openauth-openid-with -your-existing-asp-net-application-using-universal-providers.aspx
一切正常,但是当我从gmail签名后输入用户名时,它会出错...
发生了'System.ArgumentException'类型的异常Microsoft.AspNet.Membership.OpenAuth.dll但未在用户代码中处理
附加信息:参数不能为空或空。
i am trying to use given tamplate features of asp.net 4.5 framework of SIgnUp with google account
.... which is same as ..
"http://blogs.msdn.com/b/webdev/archive/2012/09/12/integrate-openauth-openid-with-your-existing-asp-net-application-using-universal-providers.aspx"
all is working but when i enter user name after signing from gmail it gives error ..
"An exception of type 'System.ArgumentException' occurred in Microsoft.AspNet.Membership.OpenAuth.dll but was not handled in user code
Additional information: Argument cannot be null or empty."
推荐答案
您需要调试代码。检查您从Google收到的回复。授权所需的某些值不正确/为空。调试代码应该为您提供确切的详细信息。
You will need to debug your code. Check the response you receive from the Google. Some value that is necessary for authorization is not correct / is null. Debugging the code should give you the exact details.
这篇关于使用社交网站在asp.net,c#,framework 4.5中注册的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!