Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

Website Administration Tool

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Laurence - 25 Jun 2007 17:19 GMT
Hi all,

I have been trying to set up a Webstie Administration Tool - Virtual
Directory and have hit a couple of issues!

I have set the site up as Integrated security and access the pages through
this link

http://localhost/WebAdmin/default.aspx?applicationPhysicalPath=C:\Windows\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles\&applicationUrl=/PI

All seems to be fine except the site says it is using Windows authentication
so you can't add users.....

So I set the site to Forms authentication and yes I can add users but I
can't find them after I have added them.

I mention the 2 security modes as when you login with integrated \ or from
VS it displays the current username, with forms based it does not.

And yes you can see the user that was added from the virtual directory web
site when you use VS, so the applicationName is correct. So why can't I
search and manage users I have added on the stand alone site?

Any suggestions appreciated
Thanks
Juan T. Llibre - 25 Jun 2007 19:13 GMT
re:
!> I have been trying to set up a Webstie Administration Tool - Virtual Directory

Why ? WAT only runs on the local machine, so www.mysite.com won't serve the WAT interface.

You can create your own management interface, per the instructions in these 2 articles:

"ASP.NET 2.0 Member/Role Management with IIS"

Part 1, Security and Configuration Overview :
http://msdn2.microsoft.com/en-us/library/aa478958.aspx

Part 2, Implementation :
http://msdn2.microsoft.com/en-us/library/aa478947.aspx

The code sample for that app is in this msi file :
http://download.microsoft.com/download/1/6/0/160ce638-446f-428b-bf22-8d7c5a05fb4
7/membershipeditor.msi


Or, to do the same thing differently, follow Steven Cheng's advice at :
http://blogs.msdn.com/msdnts/archive/2006/12/16/asp-net-2-0-membership-role-mana
gement-out-of-asp-net-context.aspx


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================

> Hi all,
>
[quoted text clipped - 21 lines]
> Any suggestions appreciated
> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.