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 / October 2007

Tip: Looking for answers? Try searching our database.

Membership help:  LoginName control showing windows username

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sklett - 03 Oct 2007 19:32 GMT
I *think* I've got the asp.net membership controls setup to use MySql and
when I login entering credentials from my database (IE: not active
directory) the login succeeds but the LoginName controls displays
<myDomain>\<myUsername> rather than the username from the database.

Anyone else ever experienced this?  I must be missing something obvious...

Thanks for any help,
Steve
Mike Placentra II - 03 Oct 2007 21:48 GMT
In Web.config you may need to set your authorization to the mode Form.
ASP.net gives you the option of letting users log in with their
Windows credentials instead, that may be the way you have it.

<configuration>
 <system.web>
   <authentication mode="Forms">

-Michael Placentra II

> I *think* I've got the asp.net membership controls setup to use MySql and
> when I login entering credentials from my database (IE: not active
[quoted text clipped - 5 lines]
> Thanks for any help,
> Steve
sklett - 04 Oct 2007 03:44 GMT
Thanks so much, Mike.  That's what it was.
Easy fix!  :0)

> In Web.config you may need to set your authorization to the mode Form.
> ASP.net gives you the option of letting users log in with their
[quoted text clipped - 16 lines]
>> Thanks for any help,
>> Steve

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.