Membership Provider entries in web.config
Following are the setting you need to do in web.config for your Membership Provider.
<add name="Sqlconstring" Data Source="SQLServerInstance\SQLEXPRESS";Initial Catalog=Database Name;Integrated Security=True" System.Data.SqlClient"/> </connectionStrings/> <membership> <providers> <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="Sqlconstring" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="application name" passwordFormat="Hashed" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""> </providers> </membership>
Categories: ASP.Net

Recent Comments