views:

1413

answers:

3

I am using asp.net web site administration tool to manage the different roles in my project (currently Customer and Administrator). During the development, in vs 2008, its very easy to manage the roles. (Project -> Asp.Net configuration). How do I manage my roles and users when the system is deployed (IIS)? Is it possible to run a "asp.net web administration tool-services" on IIS?

+1  A: 

Supposedly, developers are intended to admin the site using the visual studio web site administration tool. There is no out-of-the-box web interface to front-end that stuff.

Ken Browning
A: 

If you are using a SQL Server instance, rather than the mapped database file in APP_DATA you can use the ASP.Net configuration tool by temporarily changing the Connection String for the database to point to your live database rather than the local one - this will enable you to edit the roles/users etc.

However, it's one of those areas where you should probably look at writing/finding a tool to edit/manage these properly.

Zhaph - Ben Duguid
+3  A: 

This article describes how to create one, including the code that you can directly embed in your website:

http://aspnet.4guysfromrolla.com/articles/053007-1.aspx

This article describes how you can run the ASP.NET configuration website administration tool on IIS: http://blogs.msdn.com/rahulso/archive/2006/03/09/547402.aspx

Zidad
Good post. these are the two articles I have used. The 4guys from rolla code is much better because you can customize and configure it more succinctly.
MikeJ