473,325 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

using custom database for membership and rolls ?

I need to use a custom database for all of the user membership and rolls.
How do you do this?
Nov 9 '07 #1
3 1952

You have to write a Custom Membership Provider, which inherits from a
specific Abstract class.

http://www.google.com/search?source=...rship+provider

It is con fusing sometimes, because sometimes people are talking about the
specific concrete membership provider .... (SqlMembershipProvider) (the out
of the box solution)
and sometimes they are talking about the abstract class.
If you have a custom database, you need to write a custom membership
provider which interacts with that database.

...............

Follow the google search, and you'll start to see it.

"Sunfire" <a_*****@sbcglobal.netwrote in message
news:un**************@TK2MSFTNGP06.phx.gbl...
>I need to use a custom database for all of the user membership and rolls.
How do you do this?

Nov 9 '07 #2
If you have a custom database, you need to write a custom membership
provider which interacts with that database.
Ah! I might be beginning to see the light!

Is it fair to say the 'out of the box' is really only suitable for SQL
Express?

If one is writing their own custom mebership provider, does one still need
to run the command-line tool to 'setup' their custom database?

Are there any articles/tutorials that focus more on the 'write your own'
rather than the 'click click wizard' technique?

-Darrel
Nov 9 '07 #3

"out of the box" will run on Express, 2005 "normal" editions, and even 2000.
Go here:
http://www.google.com/search?source=...Server+2000%22

and you'll see how an alternate, but still "out of the box" system can work.
This is using the SqlMembershipProvider.

....................

No, if you have a custom database...and you've written a custom membership
provider, you don't need any setup tool.

However, you need to configure your config file to actually use the custome
membership provider you have.

,,,,,,

Here is a good learning exercise:
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=404
and it will take you to
http://msdn2.microsoft.com/en-us/asp.net/Aa336558.aspx Sample Access
Providers

This is how to use Access (Jet database) for membership.

Obviously, you're probably not going to actually use Access, but if you get
the Access thing working, and the CustomMembershipProvider(viaAccess)
working, you will begin to understand how it all fits.

...

There aren't alot of shortcuts. You actually gotta understand how an
alternative one works, then you can start to code your own.

Work thru the Access, and it'll start to make sense.

You got the tools and links now, now you gotta make the attempt.


"darrel" <no*****@nowhere.comwrote in message
news:Od*************@TK2MSFTNGP05.phx.gbl...
>If you have a custom database, you need to write a custom membership
provider which interacts with that database.

Ah! I might be beginning to see the light!

Is it fair to say the 'out of the box' is really only suitable for SQL
Express?

If one is writing their own custom mebership provider, does one still need
to run the command-line tool to 'setup' their custom database?

Are there any articles/tutorials that focus more on the 'write your own'
rather than the 'click click wizard' technique?

-Darrel

Nov 9 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Arjen | last post by:
Hi, I want to use the aspnet tables (for membership, profiles, roles, etc.) inside my own database. I have succesfully installed these tables. Now I need to tell my application or asp.net 2.0...
2
by: WB | last post by:
Hi, I am revamping my company's website with ASP.Net 2.0. In order to use our existing user data in our SQL 2000, I have written a custom membership provider. However, when I try to logon with...
2
by: Peter Afonin | last post by:
Hello, I'm using CreateUserWizard control in ASP.NET 2.0. I'm storing the data in SQL Server 2005. The first and last steps run smoothly without any problems. But I added one middle step to...
0
missinglinq
by: missinglinq | last post by:
Having been asked, for the umpteenth time, how to use the MouseMove property to change the appearance of an object, I put together this short tutorial and sample database today. Perhaps it will be of...
0
by: asnowfall | last post by:
After logging in, I am not able to redirect to the target url; and this happens only when I connect to the website using "http://machine- name:portname"; but not if I connect using either...
2
by: StinkyDuck | last post by:
Hello, I am relatively new to ASP.NET 2.0 and have been reading a book and going through some articles on the internet. When looking for information regarding membership and roles, I see lots...
3
by: Andy Fish | last post by:
Hi, I am trying to figure out how to use asp.net membership providers for my vs2005 web project. unfortunately the only walkthrough in MSDN uses the "Web Site Administration Tool" to configure...
6
by: Jonathan Wood | last post by:
Although this will be a challenge at my level of ASP.NET knowledge, I'm thinking I should implement my own membership provider class. Looking over the methods I must implement, a number of...
2
by: DanWeaver | last post by:
I am trying to use a MySQL db hosted on a shared server as an ASP.NET Membership Provider and .net framework 3.5 (visual studio 2008) I am new to a lot of this and have found the following websites...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.