By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,946 Members | 1,600 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,946 IT Pros & Developers. It's quick & easy.

Website Admin Tool

P: n/a
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,
--
stullhe104
Jun 27 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.--------------------
>From: =?Utf-8?B?SGVyYg==?= <st********@newsgroup.nospam>
Subject: Website Admin Tool
Date: Mon, 9 Jun 2008 14:16:01 -0700
>
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,
--
stullhe104
Jun 27 '08 #2

P: n/a
Herb wrote:
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.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jun 27 '08 #3

P: n/a
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:
ms****@microsoft.com.

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

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.--------------------
>From: "Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom>
References: <BC**********************************@microsoft.co m>
Subject: Re: Website Admin Tool
Date: Tue, 10 Jun 2008 07:02:05 -0400
>
Herb wrote:
>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.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.