|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
| This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
September 24th, 2007, 11:57 AM
|
Authorized User
|
|
Join Date: Sep 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ASP.NET Web Application Administration
Hi,
I am doing a project and created my own database, how can I link my database so I can use it through ASP.NET Web Application Administration tool because each time I try to use it, a new database is created the ASPNETDB.MDF.
Thank you and regards!!!
|
September 24th, 2007, 01:29 PM
|
Authorized User
|
|
Join Date: Sep 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
Sorry I am new using this forum and forgot to specify the book I was using.
I am learning with the "Beginning ASP.NET 2.0 with C#" book. I want to attach my database to manage the roles and profiles with the Web Site Administration tool. I am not even sure that it is possible to do this! My web site is going to have 4 different types of users, ADMINISTRATOR, CUSTOMER, EMPLOYEE and GUEST and if I use the ASPNETDB.MDF I only have the possibility to have just 1 user table and I need 4.
Best regards!
|
September 24th, 2007, 01:36 PM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
This particular forum is for the book ASP.NET 2.0 Instant Results. For the Beginning ASP.NET forum, take a look here:
http://p2p.wrox.com/book-beginning-asp-net-2-0-book-vb-isbn-978-0-7645-8850-1-c-isbn-978-0-470-04258-8-228/
That said, ASP.NET allows you to have many different user accounts. And with the Role manager, you can assign them to many different roles as well. Look in the index of the book for Roles to see the various pages / chapters that deal with this feature.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
|
September 24th, 2007, 04:04 PM
|
Authorized User
|
|
Join Date: Sep 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes Imar and thank you again but I already read all the book. What I want to know is if it is any chance to use my own database and manage it using the web site administration tool or if I have to use necessarily the ASPNETDB.MDF. I am asking you this because I am not going to require the same information from all users and I don't want null values for any column. What if I need to add another table to the ASPNETDB.MDF and make relations? I think that is impossible.
Regards!
|
September 24th, 2007, 04:09 PM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
My response was to this:
Quote:
quote:My web site is going to have 4 different types of users, ADMINISTRATOR, CUSTOMER, EMPLOYEE and GUEST and if I use the ASPNETDB.MDF I only have the possibility to have just 1 user table and I need 4.
|
which just isn't true. Well, it's true that by design you only have one table, but you don't need more as you can use the same table to store multiple types of users.
Anyway, look at the tool aspnet_regsql in your Framework folder under Windows. It's used to change an existing database for support for the application services like Membership and Roles.
Googling for this tool or searching the Wrox archive should bring up useful documents about using it.
Can we move this thread to the Beginning or Pro ASP.NET forums as I think it belongs there. If you can't move it, can you start a new thread for follow up questions and refer to this one?
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
|
September 24th, 2007, 04:26 PM
|
Authorized User
|
|
Join Date: Sep 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok Imar
Thank you I am going to check the given info:)But I don't know how to do what you're asking about this forum.
|
September 24th, 2007, 04:28 PM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
|
|
|