[英]Html.OpenIdSelectorScripts helper method throwing NullReferenceException
I keep getting this error when trying to navigate to my LogOn page: 尝试导航到LogOn页面时,我不断收到此错误:
System.NullReferenceException: Object reference not set to an instance of an object
System.NullReferenceException:未将对象引用设置为对象的实例
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? 有谁知道为什么这行代码会抛出错误?
看看这个链接: Gougle-Groups / DotNetOpenAuth : “我怀疑你在global.asax.cs
文件中缺少OpenIdDiscover
命名路由。”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.