Wednesday 15 July 2015

c# - Login control not working with created users -


So I'm working on creating a login for a webpage:

Enter image details here

When I go to the signup page (signup.aspx) and create an account

Enter image details here

log me this Displays these as:

Enter image details here < P> But when I log out and try The login fails:

Enter image details here

Why is this happening? My web.config xml has been followed, which I consider to be right:

   & Lt; Profile Default Provider = "Default Profile Provider" & gt; & Lt; Providers & gt; & Lt; Add name = "DefaultProfileProvider" type = ", Version = 1.0.0.0 System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Culture = neutral, PublicKeyToken = 31bf3856ad364e35" connectionStringName = "DefaultConnection" APPLICATIONNAME = "/" / & gt ; & Lt; / Providers & gt; & Lt; / Profile & gt; & Lt; Subscription default provider = "Default Subscriber Subscriber" & gt; & Lt; Providers & gt; & Lt; ", System.Web.Providers.DefaultMembershipProvider, System.Web.Providers Version = 1.0.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35" add name = "DefaultMembershipProvider" type = ConnectionStringName = "DefaultConnection" EnablePasswordRetrieval = "False" EnablePasswordReset = "True" Rekvireskuastionandnsver = "false" Rekviresunikimal = "false" Maksinwalidpassvordtempts = "5" Minarekviredpasswordlangth = "6" Minarekvirednonalfanumrichcharakters = "0" Passwordtemptindov = "10" applicationName = "/" / & gt; & Lt; / Providers & gt; & Lt; / Subscription & gt; & Lt; RoleManager default provider = "Default Reel" & gt; & Lt; Providers & gt; & Lt; Add name = "DefaultRoleProvider" type = ", Version = 1.0.0.0 System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Culture = neutral, PublicKeyToken = 31bf3856ad364e35" connectionStringName = "DefaultConnection" APPLICATIONNAME = "/" / & gt ; & Lt; / Providers & gt; & Lt; / RoleManager & gt; & Lt ;! - If you are deployed in a cloud environment with many web server instances, you should change the session status mode from "Input" to "Custom". Additionally, change the connection string named "DefaultConnection" to SQL Server instead of SQL Server Express (including SQL Azure and SQL Compact). - & gt; & Lt; SessionStat mode = "infrac" custom driver = "default session provider" & gt; & Lt; Providers & gt; & Lt; ", Version = 1.0.0.0, culture = neutral, publicKeyToken = 31bf3856ad364e35 System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers" connectionStringName = "DefaultConnection" /> add name = "DefaultSessionProvider" type =; & Lt; / Providers & gt; & Lt; / SessionState & gt; & Lt; /system.web> & Lt; ConnectionStrings & gt; & Lt; "Initial list = aspnet-logincontrols-20130621103733; integrated security = SSPI data source = \ SQLEXPRESS" / & gt; name = "DefaultConnection" ProviderName = "System.Data.SqlClient" connectionstring = add; & Lt; / ConnectionStrings & gt; & Lt; / Configuration & gt;    

Verification problem in login page .. Pssqord is not accepting ... Look through that part of code ... a problem in webconfig

No comments:

Post a Comment