G
Guest
Hello,
I am trying to implement my own custom provider for memberships, basically
only id/pwd (no roles). I use the new login web control (I am using asp.net
2.0 and VS2005).
In web.config I followed the examples like:
<membership defaultProvider="AspNetSqlMembershipProvider2">
<providers>
<clear/>
<remove name="AspNetSqlMembershipProvider2" />
<add name="AspNetSqlMembershipProvider2" ... etc, etc..
However when I, in Page_Load of the Login.aspx look at:
Debug.WriteLine(Membership.Provider.Name);
the membership in use always turns out to be the machine default of
AspNetSqlMembershipProvider.
My settings are therfore ignored.
What am I doing wrong?
Thx.
I am trying to implement my own custom provider for memberships, basically
only id/pwd (no roles). I use the new login web control (I am using asp.net
2.0 and VS2005).
In web.config I followed the examples like:
<membership defaultProvider="AspNetSqlMembershipProvider2">
<providers>
<clear/>
<remove name="AspNetSqlMembershipProvider2" />
<add name="AspNetSqlMembershipProvider2" ... etc, etc..
However when I, in Page_Load of the Login.aspx look at:
Debug.WriteLine(Membership.Provider.Name);
the membership in use always turns out to be the machine default of
AspNetSqlMembershipProvider.
My settings are therfore ignored.
What am I doing wrong?
Thx.