Re: Replacing VS .NET's SQL Server Express Edition Integration



1. You could write a custom membership provider.

These articles explain :

http://weblogs.asp.net/scottgu/archive/2005/10/17/427731.aspx

http://msdn2.microsoft.com/en-us/library/aa479038.aspx

http://www.15seconds.com/issue/050216.htm

2. You could add the tables you need to your existing database table.

Here's a guide : http://www.steamed-design.com/

....and here's info on aspnet_regsql.exe :

http://msdn2.microsoft.com/en-us/library/ms229862(vs.80).aspx




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Scott M." <smar@xxxxxxxxxxxxx> wrote in message news:1C472A8B-4125-4CE5-83EA-D5FA23757BFB@xxxxxxxxxxxxxxxx
Ok, ScottGu's blog was a good link to answer my question.

So, now I have a follow up question, which came up in Scott's blog, but was not answered:

If I have an existing database with my own user/password data already in a table, how can I configure ASP .NET to use
that data? How would the provider know to use my tables and what field represents what data?




"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message news:n7jURomMIHA.6908@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Scott,

As for configuring ASP.NET 2.0 membership to connect SQL Server 2000, you
need to do the following things:

** use aspnet_regsql.exe tool to setup a database in sqlserver 2000 db

** add a new membership provider in your ASP.NET 2.0 application which use
a connectionstring pointed to your SQL Server 2000 database

Here are two web articles provided detailed steps:

#Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL
Server 2005
http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx

#Using ASP.NET 2.0 Membership API with SQL Server 2000
http://www.vikramlakhotia.com/Using_ASPNET_20_Membership_API_with_SQL_Server
_2000.aspx


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.





--------------------
Reply-To: "Scott M." <smar@xxxxxxxxxxxxx>
From: "Scott M." <smar@xxxxxxxxxxxxx>
Subject: Replacing VS .NET's SQL Server Express Edition Integration
Date: Thu, 29 Nov 2007 00:15:44 -0500

I've seen many posts and ready articles discussing how changing the
membership & roles "provider" in VS .NET is easy, but have yet to see
instructions on how to do it.

If I already have SQL Server 2000 on a machine and didn't install SQL
Server
2005 Express with my VS .NET installation, how do I set up my existing SQL
2000 server to be the membership & roles provider for ASP .NET?






.



Relevant Pages

  • Re: Disabling ASP.net 2.0 Membership
    ... There are two primary reasons for creating a custom membership provider. ... as a FoxPro database, an Oracle database, or other data sources. ... custom connection string so that I can use the Commerce Server SQL Server ... An error has occurred while establishing a connection to the server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Replacing VS .NETs SQL Server Express Edition Integration
    ... As you said you already have an existing database that contains the ... membership structure, ... Replacing VS .NET's SQL Server Express Edition Integration ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: 2.0 Forms Authentication Prob.
    ... Have you ever installed the SQL Server Express edition on that server ... ASP.NET's formsauthentication(membership/role provider) is configured to ... #membership Element ... The above configuration setting add a new configured provider(still use the ...
    (microsoft.public.dotnet.framework.aspnet)
  • WebControls.Login.MembershipProvider
    ... I've also configured the web.config to specify the new database as the ... role provider and the membership provider. ... membership provider is specified as default in the web.config). ... Express installed on the same machine, along with SQL Server 2000 as ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Membership and SQL Server 2000
    ... ASP.NET 2.0 Membership and Login thread. ... > Writing a Custom Membership Provider ... >> with a SQL Server 2000 DB? ...
    (microsoft.public.dotnet.framework.aspnet)