ActiveDirectory and ASP.NET 2 Login control is requiring full login name (ie login@domain)

Posted on 2007-10-08
Last Modified: 2013-11-07
I'm using ActiveDirectory with the ASP.Net 2 login control. For some odd reason the login control is requiring the user enter their full login name, including the domain. For example jdoe@acme.fireworks.
Anybody have any idea why?
Question by:dmoss123
    LVL 7

    Accepted Solution

    you should probably define domain=<yourdomain>

    Author Comment

    Where do I define the domain? Is this in a config file?

    Author Comment

    Is this where I set the domain? I'll try it soon as I get to work. If it works I'll give you the points.

    <forms name=".ASPXAUTH" loginUrl="login.aspx"
           defaultUrl="default.aspx" protection="All" timeout="30" path="/"
           requireSSL="false" slidingExpiration="true"
           cookieless="UseDeviceProfile" domain="<------------DOMAIN NAME GOES HERE>"
      <credentials passwordFormat="SHA1" />

    Author Comment

    I found the following  microsoft solution

    You can change the name mapping so that it uses simple user name format by setting the following attribute in the Membership Provider configuration in the Web.config file.


    I'll be trying it in about a half hour

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now