c# - Lightweight Active Directory + Asp.net MVC 5 [Unable to establish secure connection with the server using SSL.] -


I am using AD LDS + ASP.NET MVC5. I am trying to implement asp.net membership. Here is my current code:

Connection string:

     

Subscription provider:

  & lt; Subscription defaultProvider = "MY_ADMembershipProvider" & gt; & Lt; Providers & gt; & Lt; Clear /> & Lt; Add name = "MY_ADMembershipProvider" type = "System.Web.Security.ActiveDirectoryMembershipProvider" connectionStringName = "ADConnectionString" attributeMapUsername = "sAMAccountName" APPLICATIONNAME = "TCMS.WebUI" enableSearchMethods = "true" attributeMapEmail = "email" / & gt; & Lt; / Providers & gt; & Lt; / Subscription & gt;   

controller:

  (Membership.ValidateUser (model.UserName, model.Password)) {return that (see) ; }   

When a user tries to validate the user, this returns returns

Unable to establish a secure connection to the server using SSL .

I tried to search on StackOverflow and other resources for fine but I can not find any solution so far which is not working for me.

After the "div class =" text "itemprop =" text ">

the username and password were lost in the subscription tag.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -