Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.OpenIdSelectorScripts(this, options, null)%>. 

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

like image 469
efleming Avatar asked Nov 09 '10 20:11

efleming


1 Answers

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."

like image 122
Tim Schmelter Avatar answered Nov 02 '22 20:11

Tim Schmelter