开发者

Html.OpenIdSelectorScripts helper method throwing NullReferenceException

I keep getting this error when trying to navigate to my LogOn page:

System.NullReferenceException: Object reference not set to an instance of an object

The line of code that is throwing the error on is:

<%= Html.OpenId开发者_运维知识库SelectorScripts(this, options, null)%>. 

Does anyone know why this line of code would be throwing an error?


Have a look at this link: Gougle-Groups/DotNetOpenAuth: "I suspect though that you're missing the OpenIdDiscover named route in your global.asax.cs file."

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜