473,406 Members | 2,336 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Membership help: LoginName control showing windows username

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>\<myUsernamerather than the username from the database.

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

Thanks for any help,
Steve
Oct 3 '07 #1
2 1334
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
On Oct 3, 2:32 pm, "sklett" <s...@s.comwrote:
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>\<myUsernamerather than the username from the database.

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

Thanks for any help,
Steve
Oct 3 '07 #2
Thanks so much, Mike. That's what it was.
Easy fix! :0)
"Mike Placentra II" <no***************************@gmail.comwrote in
message news:11**********************@22g2000hsm.googlegro ups.com...
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
On Oct 3, 2:32 pm, "sklett" <s...@s.comwrote:
>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>\<myUsernamerather than the username from the database.

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

Thanks for any help,
Steve

Oct 4 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: VB Programmer | last post by:
I would appreciate your assistance on this ASP.NET 2.0 site.... This is the wierd problem: While accessing the built in .NET functions for 'profiling' or 'membership' an error is generated (see...
4
by: Ron | last post by:
Hi, I have created a custom membership provider that i use to create certain types of user accounts that only require a User Name and Password nothing else this code below works great if i use...
3
by: Dabbler | last post by:
I need to have users login using the ASP.NET sqlprovider but then would like to direct them to a page based on some info in a separate table. Is there code to generate the strange userid field in...
0
by: ferherra | last post by:
Hi, Hope someone can help... I databind my gridview (asp.net 2.0) like this: GridView1.DataSource = Membership.GetAllUsers(); (MembershipUserCollection) GridView1.DataBind(); In the...
4
by: =?Utf-8?B?Q2hyaXMgQ2Fw?= | last post by:
I have been having some trouble with implementing a custom Membership Provider. We have a custom data store and business logic that pulls user information. I need some level of functionality...
6
aspamit
by: aspamit | last post by:
private void myDataGrid_Update(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { connect cnn=new connect(); string updateCmd="UPDATE IB_USER_MASTER SET...
4
by: AC | last post by:
Hi there. My asp.net 2.0 development website uses roles to control access to sections of my site, configured using the asp.net configuration tool, which is great. Except that isn't available once...
1
by: Ahmed Yasser | last post by:
Hi all, i have a problem with the datagridview sorting, the problem is a bit complicated so i hope i can describe in the following steps: 1. i have a datagridview with two columns...
2
by: Florian Paulus | last post by:
Hello group, i'm trying to load some additionally stored information to a user at login time. That data is self created and stored in an sql database. I hooked in the login control...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.