Click to See Complete Forum and Search --> : ASP.NET autentication provider


yoyosh
January 25th, 2008, 03:12 AM
In ASP.NET there are a couple of login controls. You can configure access to your site using ASP.NET Configuration tool, which keeps the role/membership data in aspnetdb.mdf by default.

How to change this? I mean, how to point to other database? Other than App_Data/aspnetdb.mdf.

Thank you very much in advance for help

Yeorwned
January 25th, 2008, 04:02 PM
web.config



<membership>
<providers>
<add
name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, ..."
connectionStringName="LocalSqlServer"
applicationName="/"
enablePasswordRetrieval="false"
enablePasswordReset="true"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="1"
passwordFormat="Hashed"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""
requiresQuestionAndAnswer="true"
requiresUniqueEmail="false" />
</providers>
</membership>