Website Admin Tool

H

Herb

Can I use the Website Administration tool to manage users and roles for
multiple ASP.NET applications using a single, common ASPNETDB?

If so, what changes do I have to make to the web.config files for these
various applications to allow authentication from that single ASPNETDB.

I'd also like to be able to maintain the users/roles and application access
from the web server rather than from my development computer. Right now it
seems like I have to make changes to user/roles in each web app and then
transfer the database and code over to the server, just to add a new user.

And each app seems to have it's own ASPNETDB which defeats the goal of a
single point of administration for the server.

Thank you,
 
S

Steven Cheng [MSFT]

Hi Stullhe,

As for the multiple application use common membership/role database, do you
mean all those web applications' users/roles are completely identical and
you want all of them point to the same backend database?

If this is the case, I think you can consider move the membershp, role
manager database to a central SQL Server database(hosted on a SQL Server
instance accessible by all the web applications) instead of using the
default sqlexpress database.

by default, ASP.NET sqlmemberhsip provider use a SQLExpress database file
(in App_Data directory), you can find the default setting in the
machine.config file (the "LocalSqlServer" connectionstring). You can
override this setting in your ASP.NET application's web.config file

#Membership and Role Providers in ASP.NET 2.0 Part II
http://www.odetocode.com/Articles/428.aspx

and the following article also mentioned how you can setup all the
necessary ASP.NET service tables/components in an external sql server
database:

#Configuring ASP.NET 2.0 Application Services to Use SQL Server 2000 or SQL
Server 2005
http://msdn.microsoft.com/en-us/library/aa479307.aspx

If there is anything unclear, welcome to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
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.--------------------
 
B

Bob Barrows [MVP]

Herb said:
Can I use the Website Administration tool to manage users and roles
for multiple ASP.NET applications using a single, common ASPNETDB?
Happily, you got an answer. However:

There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic (COM-based) asp newsgroup.
ASP.Net bears very little resemblance to classic ASP so, while you may be
lucky enough to find a dotnet-knowledgeable person here who can answer your
question, you can eliminate the luck factor by posting your question to a
group where those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet or the forums at www.asp.net.
 
S

Steven Cheng [MSFT]

Thanks for your input Bob,

I just forgot to mentioned that this newsgroup is for classic ASP. Should
have included in my last reply :)

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top