Re: Membership providers in dotNet 2.0
- From: "Garfilone" <Garfilone@xxxxxxxxx>
- Date: 18 Nov 2006 20:44:46 -0800
I use both VS 2005 & WebDeveloper 2005 EXpress,and both provide the
developer with the Web Site Administration Tool.So you have encountered
quite a strange bug,:-)
but you can still configurate your membership provider by editing the
web.config file,in face the Web Site Administration Tool is just a tool
helping you edit web.config visually.
And remember,as you're using SQLserver 2000,please modify your .NET
Framework's machine.config to fit this 2000 DataBase Engine,or the
feature won't work
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config:
<connectionStrings>
<add name="LocalSqlServer" connectionString="data
source=(local);Integrated Security=SSPI;Initial Catalog=aspnetdb"
providerName="System.Data.SqlClient" />
</connectionStrings>
Allan Ebdrup 寫道:
I'm using VS Team Suite 2005 and dotNet 2.0, my webserver is running dotNet
2.0
I trying to set up a membership provider using a MSSQL 2000 database.
I've run the aspnet_regsql.exe tool and have the tables created.
I've changed web.config with the following:
----
<membership defaultProvider="CustomizedProvider">
<providers>
<add name="CustomizedProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="ebdrup_survey"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10"
applicationName="Survey"
minRequiredPasswordLength="4"
minRequiredNonalphanumericCharacters="0" />
</providers>
</membership>
----
Now looking at the article at:
http://aspnet.4guysfromrolla.com/articles/120705-1.aspx
or at microsofts site:
http://msdn2.microsoft.com/en-us/library/yy40ytx0.aspx
It states that:
"To access the Web Site Administration Tool, on the Website menu, click
ASP.Net Configuration"
But there is no ASP.Net Configuration menu item in my Website menu, why is
this?
Kind Regards,
Allan Ebdrup
.
- References:
- Membership providers in dotNet 2.0
- From: Allan Ebdrup
- Membership providers in dotNet 2.0
- Prev by Date: Re: Member Variables Naming Convention
- Next by Date: Re: Member Variables Naming Convention
- Previous by thread: Membership providers in dotNet 2.0
- Next by thread: RE: Membership providers in dotNet 2.0
- Index(es):
Relevant Pages
|
Loading