Login Problems

Posted by Community Admin on 03-Aug-2018 05:57

Login Problems

All Replies

Posted by Community Admin on 21-Feb-2011 00:00

All was ok last week with my second project, but today when I went to login It wouldn't accept my login details and all had an extra field on the screen: Authentication Provider, but there was nothing in the dorpdown (see attachment)

Can someone help please.

Thank you
regards
Byron

Posted by Community Admin on 21-Feb-2011 00:00

Hi Byzza,

Have you added an additional membership provider for the website? Please check ~/App_Data/Sitefinity/Configuration/securityConfig.config. The dropdown you see should appear if there is another membership provider declared.

Also restart the application in case you have made some changes to it.

Best wishes,
Ivan Dimitrov
the Telerik team

Posted by Community Admin on 21-Feb-2011 00:00

Hi,
Thanks for the resonse.  I checked the config file and I found this in it (this was the only difference to the default)

<membershipProviders>
    <add recoveryMailAddress="email@company.com" name="Default" />
</membershipProviders>

I set this up last week.  maybe I left a setting blank that I should have or something (maybe a bug?)

I removed this section reverting back to the original.  restarted IIS and went back in and I'm still getting the same dropdown and it still won't let me log in.

Regards
Byron

Posted by Community Admin on 24-Feb-2011 00:00

Hi Byzza,

The drop down would appear only if you have more than one provider. Can you create a simple control and check the providers programmatically

var providers = UserManager.ProvidersCollection;
if (providers == null)
    providers = UserManager.GetManager().Providers;
 
if (providers.Count > 1)
 

Best wishes,
Ivan Dimitrov
the Telerik team

Posted by Community Admin on 05-May-2011 00:00

I still haven't been able to work this out.

I did create a blank page with the below code, and it returned only a value of 1 for number of providers.  Could you please let me know anything else to test

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Sitefinity;
using Telerik.Sitefinity.Security;
  
  
  
namespace SitefinityWebApp
    public partial class test : System.Web.UI.Page
    
        protected void Page_Load(object sender, EventArgs e)
        
            var providers = UserManager.ProvidersCollection;
            if (providers == null)
                providers = UserManager.GetManager().Providers;
  
            Response.Write(providers.Count);
            //Response.Write(providers[0].ApplicationName.ToString );
            if (providers.Count > 1)
            
              
            
  
        
    

Posted by Community Admin on 05-May-2011 00:00

Hello Byzza,

Which version of Sitefinity you are running? Can you try to add a new provider under a new project  that uses Sitefinity 4.1 (Q1) release.

If there are still issues, please open a support request and attach the security config you use.

Greetings,
Ivan Dimitrov
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed