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.OpenIdSelectorScripts(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."
来源:https://stackoverflow.com/questions/4138534/html-openidselectorscripts-helper-method-throwing-nullreferenceexception