开发者

Unable to connect to OpenId Provider

When I run in visual studio I am able to connect to openid provider, But if I host app in IIS ,I am not able to connect to openid provider. (I am getting error at CreateRequest)

Please let me know what settings has to be done in IIS so that I can connect to the Openid开发者_运维百科 Provider. Below is the error I am getting

[InvalidOperationException: Sequence contains no elements] System.Linq.Enumerable.First(IEnumerable`1 source) +336 DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.CreateRequest(Identifier userSuppliedIdentifier)

[ProtocolException: No OpenID endpoint found.] DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.CreateRequest(Identifier userSuppliedIdentifier)


This is usually a firewall issue. That may not apply to you if your IIS and VS are on the same machine, but it's something that you may consider.

Otherwise the best way to find out why it failed is to activate logging and set a verbose logging setting. You could alternatively just install one of the shipping OpenID RP samples to your IIS, as they have a built-in TracePage.aspx file that will display verbose logging to you. If the samples also fail, the logs should tell you why. If the samples don't fail, then that will tell you something about your web site as well, and logging on your site will hopefully help further.

Please also check out "No OpenID endpoint found" on Azure Website as this may be a duplicate question.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜