Problem with Membership login

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am creating a site that contains a user login. I pulled down the
"How do I ..." video and sample code from asp.net on Membership and
Securing a website. When I am in VS2005 and run the application in
Debug mode, I can login to the site. When I access the site from out
site of VS (http://localhost/mysite/default.aspx), the application
looks at my network ID (jxcont) instead the application user ID I
picked for the site (jxc). If I specify port 2575 in my URL, I am
able to login.

It looks as if 2575 is directing the application to look at ASPDB.MDF.

IIS is setup with Windows Authentication without an Anonymous User.

I added the code below so the user password would require a non-
alphanumeric value.

<system.web>
<membership>
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqlServer" enablePasswordRetrieval="true"
enablePasswordReset="true" requiresQuestionAndAnswer="false"
applicationName="/" requiresUniqueEmail="true"
passwordFormat="Encrypted" maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10" passwordStrengthRegularExpression=""
minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0"/

</providers>
</membership>

:
:
</system.web>

How do I avoid is problem?

.



Relevant Pages

  • Re: Problem with Membership login
    ... video and sample code from asp.net on Membership and ... I can login to the site. ... IIS is setup with Windows Authentication without an Anonymous User. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP "Membership" or Login Scripts - Anybody with experience in implmenting?
    ... Does anyone here have any experience with ASP scripting concerning "membership", or selective login in products and/or implementing these features in an FP site? ... NetLogin User Management, http://www.aspworld.com/products/netlogin.asp?aid=1 ...
    (microsoft.public.frontpage.client)
  • Re: Login with multiple sessions
    ... A simple website with a login ... | membership does not allow to view the page. ... The session id is unique to each visitor. ... | other friends who if they use ...
    (comp.lang.php)
  • re: ASP "Membership" or Login Scripts - Anybody with experience in implmenting?
    ... registers and logs in. ... sample code for both ASP and ASP.NET logon systems on the ... concerning "membership", or selective login in products ...
    (microsoft.public.frontpage.client)
  • asp.net problem
    ... I am trying to make use of Membership. ... Unauthorized.aspx has some text and a LoginStatus control. ... If I first login with "test", which is NOT in the Role, then I am transfered ... This project is actually from a training video from learnvisualstudio.net ...
    (microsoft.public.dotnet.framework.aspnet)