Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
 
Old September 24th, 2007, 11:57 AM
Authorized User
 
Join Date: Sep 2007
Location: Quito, Pichincha, Ecuador.
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!!!

 
Old September 24th, 2007, 01:18 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

To what chapter of the book ASP.NET 2.0 Instant Results is this related?

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
 
Old September 24th, 2007, 01:29 PM
Authorized User
 
Join Date: Sep 2007
Location: Quito, Pichincha, Ecuador.
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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!
 
Old September 24th, 2007, 01:36 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
 
Old September 24th, 2007, 04:04 PM
Authorized User
 
Join Date: Sep 2007
Location: Quito, Pichincha, Ecuador.
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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!
 
Old September 24th, 2007, 04:09 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
 
Old September 24th, 2007, 04:26 PM
Authorized User
 
Join Date: Sep 2007
Location: Quito, Pichincha, Ecuador.
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

 
Old September 24th, 2007, 04:28 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Like I said, if you can't move the thread, simply start a new one 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/

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




Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Web Application swifty_programmer ASP.NET 2.0 Professional 14 July 20th, 2007 08:05 AM
ERROR using ASP.net Web Site Administration Tool erictamlam ASP.NET 2.0 Basics 0 April 5th, 2007 02:52 AM
ERROR using ASP.net Web Site Administration Tool erictamlam C# 2005 0 April 3rd, 2007 01:28 AM
Administration web application ! Please help hunghung Apache Tomcat 1 November 30th, 2005 10:01 AM
ASP.NET web site administration tool boksi ASP.NET 1.0 and 1.1 Basics 2 June 16th, 2005 07:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.