what changes are needed to made in web.config file to prevent this exception i am using dotnet open id for implementing open id.
using (OpenIdRelyingParty openid = new OpenIdRelyingParty())
{
IAuthenticationRequest request = openid.CreateRequest(this.txtOpenId.Text);
and at this point an exception is generated no openid endpoint found for example in case i am typing claimid.com/openid
I had the same problem and I solved it setting up logs for DotNetOpenAuth (http://www.dotnetopenauth.net/developers/help/loggingdebugging-dotnetopenauth-with-log4net/). If you are using Log4Net you can try this:
<appender name="FileApp_DotNetOpenAuth" type="log4net.Appender.RollingFileAppender">
<file value="Logs/DotNetOpenAuth.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="5MB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
</layout>
</appender>
<logger name="DotNetOpenAuth">
<level value="ALL" />
<appender-ref ref="FileApp_DotNetOpenAuth"/>
</logger>
Then check the log file DotNetOpenAuth.log for your current error. It would help you troubleshoot the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With