OK, I am going to document this in a few places because the answer to my specific problem wasn’t anywhere to be found.
Longform:
The overt problem: The user logon code provided by Microsoft, Membership.ValidateUser stopped working after working for a number of months. The supporting code for this method was also “canned” and was largely plagiarized from Microsoft’s website, up to and including the remarks.
Collateral problems: I was heavily multitasking at the time, and changes had been made to numerous parts of the project, which clouded the symptoms of this problem.
Cause: I was creating a Development and Test version of the project and changed the web.config settings to point to the Development database. However, changing web.config back to production did not fix the problem. It did fix the intermediate problem with connections to the web services. Which was, of course a serious part of the problem. Deleting and restoring the entire solution from a known working backup did not fix the log on problem.
Final Solution: Edited copy of web.config at C:\Inetpub\wwwroot\YOURWEBPROJECTNAME\web.config,
I don’t know where the settings are that System.Web.Security.Membership points to the published location, vice the projects development location on G: Drive, or why publishing once caused the change, but republishing didn’t rewrite web.config.
Shortform:
Having problems with Membership.ValidateUser? Check the settings to ALL your web.config files, even ones you don't know you have.
Search found 1 match
Search found 1 match
• Page 1 of 1
- by PHGamer
- Fri 11 Jun 2010 15:37
- Forum: dotConnect for MySQL
- Topic: Membership not login me in
- Replies: 23
- Views: 11025
Search found 1 match
• Page 1 of 1
Jump to
- General Forums
- ↳ Announcements
- Database Tools
- ↳ dbForge for MySQL
- ↳ dbForge for Oracle
- ↳ dbForge for PostgreSQL
- ↳ dbForge for SQL Server
- ADO.NET Data Providers
- ↳ Entity Framework support
- ↳ LinqConnect (LINQ to SQL support)
- ↳ dotConnect for Oracle
- ↳ dotConnect for MySQL
- ↳ dotConnect for PostgreSQL
- ↳ dotConnect for SQLite
- ↳ dotConnect for DB2
- ↳ dotConnect for SQL Server
- ↳ dotConnect for Cloud Applications
- ↳ dotConnect Universal
- ↳ Entity Developer
- Delphi Data Access Components
- ↳ EntityDAC
- ↳ Universal Data Access Components
- ↳ Oracle Data Access Components
- ↳ SQL Server Data Access Components
- ↳ MySQL Data Access Components
- ↳ InterBase Data Access Components
- ↳ PostgreSQL Data Access Components
- ↳ SQLite Data Access Components
- ↳ VirtualDAC
- dbExpress Drivers
- ↳ dbExpress driver for Oracle
- ↳ dbExpress driver for SQL Server
- ↳ dbExpress driver for MySQL
- ↳ dbExpress driver for InterBase & Firebird
- ↳ dbExpress driver for PostgreSQL
- ↳ dbExpress driver for SQLite
- ODBC Drivers
- ↳ ODBC Drivers
- Network Security
- ↳ SecureBridge
- Developer Tools
- ↳ Code Compare
- ↳ Review Assistant
- ↳ LINQ Insight
- ↳ SSIS Data Flow Components
- ↳ Excel Add-ins