MSDOTnet.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Replacing VS .NET's SQL Server Express Edition Integration

 
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ASPNet
Author Message
Scott M.



Joined: 08 Aug 2007
Posts: 49

PostPosted: Thu Nov 29, 2007 5:15 am    Post subject: Replacing VS .NET's SQL Server Express Edition Integration Reply with quote

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?

Archived from group: microsoft>public>dotnet>framework>aspnet
Back to top
View user's profile Send private message
Steven Cheng[MSFT]



Joined: 08 Aug 2007
Posts: 196

PostPosted: Thu Nov 29, 2007 2:27 pm    Post subject: RE: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

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."
>From: "Scott M."
>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?
>
>
Back to top
View user's profile Send private message
Juan T. Llibre



Joined: 08 Aug 2007
Posts: 14

PostPosted: Thu Nov 29, 2007 10:59 am    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

You beat me to it, Steven... Wink

Second link reposted, to fix it, as it was broken into 2 lines.

!> #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

Something to keep in mind, too, is that SQL Server 2000 and SQL Server 2005 Express can coexist.
I have them both running on the same testbox at the same time.

That way, you don't have to deal with custom implementations which might require old syntax.




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/
======================================
"Steven Cheng[MSFT]" wrote in message @TK2MSFTNGHUB02.phx.gbl...
> 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."
>>From: "Scott M."
>>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?
>>
>>
>
Back to top
View user's profile Send private message
Scott M.



Joined: 08 Aug 2007
Posts: 49

PostPosted: Fri Nov 30, 2007 2:19 am    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

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]" wrote in message @TK2MSFTNGHUB02.phx.gbl...
> 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."
>>From: "Scott M."
>>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?
>>
>>
>
Back to top
View user's profile Send private message
Steven Cheng[MSFT]



Joined: 08 Aug 2007
Posts: 196

PostPosted: Fri Nov 30, 2007 7:39 am    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

Thanks Juan,

I always encounter such broken link issue due to the tool my used Sad

Thanks for correcting it.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


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

--------------------
>From: "Juan T. Llibre"
>References:

>Subject: Re: Replacing VS .NET's SQL Server Express Edition Integration
>Date: Thu, 29 Nov 2007 05:59:47 -0400
>
>You beat me to it, Steven... Wink
>
>Second link reposted, to fix it, as it was broken into 2 lines.
>
>!> #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
>
>Something to keep in mind, too, is that SQL Server 2000 and SQL Server
2005 Express can coexist.
>I have them both running on the same testbox at the same time.
>
>That way, you don't have to deal with custom implementations which might
require old syntax.
>
>
>
>
>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/
>======================================
>"Steven Cheng[MSFT]" wrote in message @TK2MSFTNGHUB02.phx.gbl...
>> 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."
>>>From: "Scott M."
>>>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?
>>>
>>>
>>
>
>
>
Back to top
View user's profile Send private message
Steven Cheng[MSFT]



Joined: 08 Aug 2007
Posts: 196

PostPosted: Fri Nov 30, 2007 7:50 am    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

Thanks for your reply Scott,

As you said you already have an existing database that contains the
username/password, is that database previously used by membership
provider(in SQL Express)? If so, since that database has the correct
membership structure, you can surely use it. An easy way is to simply
attach the old database to new server instance(or use SSIS is they're of
diffferent version). If the database is not a membership database(but
your own user account database), I'm afraid you will need to maually import
those user account info into ASP.NET membership database through
membership APIS(such as adduser...).

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


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

--------------------
>Reply-To: "Scott M."
>From: "Scott M."
>Subject: Re: Replacing VS .NET's SQL Server Express Edition Integration
>Date: Thu, 29 Nov 2007 21:19:14 -0500
>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]" wrote in message
>@TK2MSFTNGHUB02.phx.gbl...
>> 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."
>>>From: "Scott M."
>>>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?
>>>
>>>
>>
>
>
Back to top
View user's profile Send private message
Juan T. Llibre



Joined: 08 Aug 2007
Posts: 14

PostPosted: Fri Nov 30, 2007 3:50 am    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

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." wrote in message @microsoft.com...
> 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]" wrote in message @TK2MSFTNGHUB02.phx.gbl...
>> 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."
>>>From: "Scott M."
>>>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?
>>>
>>>
>>
>
Back to top
View user's profile Send private message
Scott M.



Joined: 08 Aug 2007
Posts: 49

PostPosted: Fri Nov 30, 2007 5:52 am    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

> If the database is not a membership database(but
> your own user account database), I'm afraid you will need to maually
> import
> those user account info into ASP.NET membership database through
> membership APIS(such as adduser...).

Yes, this would be the case. Can you tell me what APIS(such as adduser...)
means? Thanks!
Back to top
View user's profile Send private message
Steven Cheng[MSFT]



Joined: 08 Aug 2007
Posts: 196

PostPosted: Fri Nov 30, 2007 1:22 pm    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

Sure Scott,

For the APIs, just configure your membership provider and then use the
"Membership" class's static methods such as "CreateUser" and "DeleteUser"

CreateUser Overloaded. Adds a new user to the data store.
DeleteUser Overloaded. Deletes a user from the database.

#Membership Methods
http://msdn2.microsoft.com/en-us/library/system.web.security.membership_meth
ods.aspx


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


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


--------------------
>Reply-To: "Scott M."
>From: "Scott M."
>References:



>In-Reply-To:
>Subject: Re: Replacing VS .NET's SQL Server Express Edition Integration
>Date: Fri, 30 Nov 2007 00:52:38 -0500

>
>> If the database is not a membership database(but
>> your own user account database), I'm afraid you will need to maually
>> import
>> those user account info into ASP.NET membership database through
>> membership APIS(such as adduser...).
>
>Yes, this would be the case. Can you tell me what APIS(such as
adduser...)
>means? Thanks!
>
>
Back to top
View user's profile Send private message
Juan T. Llibre



Joined: 08 Aug 2007
Posts: 14

PostPosted: Fri Nov 30, 2007 11:27 am    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

re:
!> Can you tell me what APIS(such as adduser...) means? Thanks!

Here's a complete guide :

http://msdn2.microsoft.com/en-us/ms366730(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." wrote in message @microsoft.com...
>> If the database is not a membership database(but
>> your own user account database), I'm afraid you will need to maually import
>> those user account info into ASP.NET membership database through
>> membership APIS(such as adduser...).
>
> Yes, this would be the case. Can you tell me what APIS(such as adduser...) means? Thanks!
Back to top
View user's profile Send private message
sloan



Joined: 08 Aug 2007
Posts: 28

PostPosted: Tue Dec 04, 2007 2:05 pm    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

You may find this post:
http://sholliday.spaces.live.com/blog/cns!A68482B9628A842A!160.entry

about transferring existing data to a new database...helpful.

...



"Scott M." wrote in message @microsoft.com...
> 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?
Back to top
View user's profile Send private message
Scott M.



Joined: 08 Aug 2007
Posts: 49

PostPosted: Tue Dec 04, 2007 10:30 pm    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

Thanks, but what I'm asking about is the opposite of what this describes.

I don't want to transfer my data into the aspnet database, I want to not use
the aspnet database and use my database instead.

"sloan" wrote in message $nNIHA.3916@TK2MSFTNGP02.phx.gbl...
> You may find this post:
> http://sholliday.spaces.live.com/blog/cns!A68482B9628A842A!160.entry
>
> about transferring existing data to a new database...helpful.
>
> ..
>
>
>
> "Scott M." wrote in message
> @microsoft.com...
>> 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?
>
>
Back to top
View user's profile Send private message
Juan T. Llibre



Joined: 08 Aug 2007
Posts: 14

PostPosted: Wed Dec 05, 2007 3:30 am    Post subject: Re: Replacing VS .NET's SQL Server Express Edition Integrati Reply with quote

re:
!> I don't want to transfer my data into the aspnet database,
!> I want to not use the aspnet database and use my database instead.

Write your own Membership Provider.
That's the only way you'll be able to do that.



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." wrote in message news:%23wNqCUsNIHA.4272@TK2MSFTNGP05.phx.gbl...
> Thanks, but what I'm asking about is the opposite of what this describes.
>
> I don't want to transfer my data into the aspnet database, I want to not use the aspnet database and use my database
> instead.
>
> "sloan" wrote in message $nNIHA.3916@TK2MSFTNGP02.phx.gbl...
>> You may find this post:
>> http://sholliday.spaces.live.com/blog/cns!A68482B9628A842A!160.entry
>>
>> about transferring existing data to a new database...helpful.
>>
>> ..
>>
>>
>>
>> "Scott M." wrote in message @microsoft.com...
>>> 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?
>>
>>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Server Error (Resources) My ASP.NET app works with resources for loading text to the different controls (multilingual app) and everything works fine. but from time to time I have the following error. Then I have to wait for some time and my app continues working (I don't have to

Can LINQ (VB .Net cidename Orcas Express edition April 2007) Please show me code that do that. I already download sample from MS site .. However, it use XML which I cannot understand. I read that it require DataContext object but no information on connection string . TIA Sam

SQL Server 2005 compact edition with VB OK so I've downloaded and installed this 1.7MB wonder, but now what? I just wanted a nice easy to deploy db to use with my VB 6 app and although the size is now great it doesn't seem to be doing much else. Nothing in the start menu, sys tray, desktop, etc

Can 2003 Server WEB EDITION support a ServicedComponent with Can 2003 Server WEB EDITION support a with transactions connecting to another Standard 2003 server with MSSQL 2000 thanks! jamey...

web services for integration Hello, I'm a newbie to web services and I'm trying to understand how web services if web services will allow me to move large amounts of data for integration purposes. Is it web service robust enough to move larges amount of data per web method call?
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> ASPNet All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group