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."
精彩评论