Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 6th, 2007, 04:42 PM
saf saf is offline
Authorized User
 
Join Date: Nov 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar,

I hope you can help me. I'm desparate! I have an active site where I attached an sqlexpress database to mssql. Everything was working great. Now, all of a sudden one of my passwords seems to have locked and I don't know how to unlock it. My system has many users logging on with the same username and password. Today for the first time multiple users tried to logon at the same time and now the password won't work and I desparately need to reset it. I'm pasting my customized provider code from my web.config - I was under the impression I could have multiple users on the system at the same time with no problems? PLEASE HELP. AS ALWAYS, I GREATLY APPRECIATE YOUR TIME!

 <providers>
        <clear/>
        <remove name="AspnetSqlMembershipProvider"/>
        <add name="CustomizedProvider"
   type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    connectionStringName="LunchOrderConnectionString"
   applicationName="/lunchorders"
   minRequiredPasswordLength="5"
      enablePasswordReset="true"
       maxInvalidPasswordAttempts="25"
       minRequiredNonalphanumericCharacters="0"
    passwordStrengthRegularExpression=""
    requiresUniqueEmail="false"
    enablePasswordRetrieval="false"
    requiresQuestionAndAnswer="false"/>
      </providers>

THANKS!

 
Old September 6th, 2007, 06:58 PM
saf saf is offline
Authorized User
 
Join Date: Nov 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar -

Well, I figured out how to unlock the password using mssql enterprise manager. Thanks Anyway!

 
Old November 6th, 2007, 01:25 AM
Registered User
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

IMAR I need your help please!!!
I'm having the same problem, I created an ASP.NET 2.0 website using the built in VS login feature which creates the aspnetdb.mdf database, when I run the website from VS 2005, everything works fine, but once I set it up on IIS 5.0, I keep on getting "Your login attempt was not successful. Please try again." I tried to do all the steps you explained on your link by giving permissions to the user which has anonymous access to the website from IIS and it still doesn't work!!! What should I do?

 
Old November 6th, 2007, 11:54 PM
Registered User
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem solved, I was using a wrong connection string and trying to attach at run time!!! Thanks anyways.






Similar Threads
Thread Thread Starter Forum Replies Last Post
ASPNET Account Missing Emperor Budik .NET Framework 2.0 0 November 7th, 2008 05:38 AM
User Accounts ASPNET.mdf pschulz ASP.NET 2.0 Basics 3 June 19th, 2008 12:41 PM
Migrating users¡¦ data into aspnet.mdf Caster BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 April 21st, 2007 10:18 AM
Chap. 1 - Adding ASPNET User Account to Directory cjo BOOK: Beginning ASP.NET 1.0 2 October 15th, 2003 05:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.