Re: Membership providers in dotNet 2.0



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

.



Relevant Pages

  • Re: ASPNETDB Problem - Unable to connect to SQL Server database
    ... I get the error message: "Unable to connect to SQL Server ... I then created the ASPNETDB database with the ASPNET_REGSQL ... I tried the Web Site Administration Tool and got the same error. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Membership providers in dotNet 2.0
    ... I'm using VS Team Suite 2005 and dotNet 2.0, my webserver is running dotNet ... I trying to set up a membership provider using a MSSQL 2000 database. ... "To access the Web Site Administration Tool, on the Website menu, click ... But there is no ASP.Net Configuration menu item in my Website menu, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Using Access mdb file with Web Site Administration Tool
    ... How can I use MSAccess's mdb file with Web Site Administration Tool ... instead of SQL Server mdf file? ... Do you have proper permissions on the Access database ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: where can I find ASP.Net Configuration
    ... That opens the website configuration tool. ... The Membership Administration Tool is a different tool. ... I search for Web Site Administration Tool and I got the answer below but I still don't know where I can find ASP.Net ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP.Net Membership & Roles Using MySQL- Basics Needed.
    ... Change the ASP.NET Web Site Administration Tool to 'know' that ... we're now using a remote provider... ... Set up the asp project to have a reference to the correct provider ...
    (microsoft.public.dotnet.framework.aspnet)

Loading