Avatar of ExtremeFitness
ExtremeFitness

asked on 

Unable to log into the Ms ASP.NET login control with my regular account.

I have webpage that uses the microsoft log in contol and the CreateuserWizard.

ASP.NET, Active Directory, Ms ASP.NET login control

If I try to logon using my regular logon account I am unable to logon.  If I create a user with the wizard it works not problem.

Any ideas what I am missing from my accoutn to allow me to log in?
I appear to be a member of the same groups in the Active directory, in fact everything looks the same.  Are there hidden properties I should look at?

Any ideas?
OS SecurityASP.NETWindows Server 2003

Avatar of undefined
Last Comment
Bob Learned
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of ExtremeFitness
ExtremeFitness

ASKER

Form...
I have no rules that I am aware of???

Here is my web config

<?xml version="1.0"?>
<configuration  >
   
      <appSettings/>      
      
      <connectionStrings>
  <add name="ADConnectionString" connectionString="LDAP://extremefitness.local/CN=Users,DC=extremefitness,DC=local" />
  <add name="MyLocalSQLServer" connectionString="Initial Catalog=aspnetdb; data source=localhost;Integrated Security=SSPI;"
   providerName="System.Data.SqlClient" />
 </connectionStrings>

      <system.web>
        <compilation debug="true" strict="false" explicit="true" />
        <pages>
            <namespaces>
                <clear />
                <add namespace="System" />
                <add namespace="System.Collections" />
                <add namespace="System.Collections.Specialized" />
                <add namespace="System.Configuration" />
                <add namespace="System.Text" />
                <add namespace="System.Text.RegularExpressions" />
                <add namespace="System.Web" />
                <add namespace="System.Web.Caching" />
                <add namespace="System.Web.SessionState" />
                <add namespace="System.Web.Security" />
                <add namespace="System.Web.Profile" />
                <add namespace="System.Web.UI" />
                <add namespace="System.Web.UI.WebControls" />
                <add namespace="System.Web.UI.WebControls.WebParts" />
                <add namespace="System.Web.UI.HtmlControls" />
            </namespaces>
        </pages>

            <authentication mode="Forms">
                  <forms name=".ASPXAUTH"
    loginUrl="login.aspx"
    defaultUrl="default.aspx"
    protection="All"
    timeout="30" path="/"
    requireSSL="false"
    slidingExpiration="true"
    cookieless="UseDeviceProfile"
    enableCrossAppRedirects="false">
                        <credentials passwordFormat="SHA1" />
                  </forms>
            </authentication>

            <authorization>
                  <deny users="?" />
                  <allow users="*" />
            </authorization>

            <membership defaultProvider="MyADMembershipProvider">
                  <providers>
                        <add
       name="MyADMembershipProvider"
       attributeMapUsername="sAMAccountName"
       type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
       connectionStringName="ADConnectionString"
       connectionUsername="extremefitness.local\administrator"
       connectionPassword="xxxxx"/>
                  </providers>
            </membership>

    </system.web>
</configuration>

SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Windows Server 2003
Windows Server 2003

Windows Server 2003 was based on Windows XP and was released in four editions: Web, Standard, Enterprise and Datacenter. It also had derivative versions for clusters, storage and Microsoft’s Small Business Server. Important upgrades included integrating Internet Information Services (IIS), improvements to Active Directory (AD) and Group Policy (GP), and the migration to Automated System Recovery (ASR).

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo