Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.net 2.0 Forms Authentication spordically fails.

Status
Not open for further replies.

toptomato

Programmer
Jul 22, 2005
62
US
I have ASP.net 2.0 Forms authentication enabled:
My web config settings are:
__________________________________________________
<authentication mode="Forms">
<forms loginUrl="~/SSLPublic/Login.aspx"
protection="All"
timeout="30"
path="/"
requireSSL="false"
slidingExpiration="true"
defaultUrl="~/Secure/Inventory.aspx"
cookieless="AutoDetect" />
</authentication>
<membership>
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add connectionStringName="DBConnectionString"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
applicationName="WebManagement"
requiresUniqueEmail="true"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="1"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""
name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</membership>
<roleManager enabled="true">
<providers>
<remove name="AspNetSqlRoleProvider"/>
<add connectionStringName="DBConnectionString"
applicationName="WebManagement"
name="AspNetSqlRoleProvider"
type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</roleManager>
__________________________________________________

Everything was fine for almost 4 days and then all of the sudden i was unable to login. I started recieveing following error message logged in the event log:
__________________________________________________
Event Type: Information
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1315
Date: 6/3/2006
Time: 1:10:18 AM
User: N/A
Computer: PROTOTYPE
Description:
Event code: 4006
Event message: Membership credential verification failed.
Event time: 03/06/2006 1:10:18 AM
Event time (UTC): 03/06/2006 5:10:18 AM
Event ID: 5254f20d384a4419bb209ae99c5d287e
Event sequence: 3
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/153682931/Root-3-127937849878125000
Trust level: Full
Application Virtual Path: /
Application Path: C:\Inetpub\ Machine name: PROTOTYPE

Process information:
Process ID: 4056
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Request information:
Request URL: Request path: /SSLPublic/Login.aspx
User host address: 64.229.145.247
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Name to authenticate: storeadmin

Custom event details:

For more information, see Help and Support Center at _______________________________________________________

I deleted the database and recreated the database from backup and it started working fine again. However every now and then it fails again with the same error message logged in the event log. Really troubling, any ideas.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top