Sharepoint FBA throwing Ticket expired error in Eventlog.
I recently extended a working webapp to extranet zone with FBA in MOSS 2007. I configured the membership provider and rolemanager as mentioned in msdn. When I access the site (in extranet zone) I get the FBA login page. When I key in the userid password I get just following messageHTTP/1.1 200 OK Server: Microsoft-IIS/7.5 Date: Wed, 17 Mar 2010 22:59:13 GMT Connection: close The eventlog "sometimes" have the following message Log Name: ApplicationSource: ASP.NET 2.0.50727.0Date: 3/17/2010 4:56:49 PMEvent ID: 1315Task Category: Web EventLevel: InformationKeywords: ClassicUser: N/AComputer: SystemSX.BST.MYDOMAINSX.comDescription:Event code: 4005 Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired. Event time: 3/17/2010 4:56:49 PM Event time (UTC): 3/17/2010 9:56:49 PM Event ID: 144b9d5c71004960bc1f55a8854084b7 Event sequence: 2 Event occurrence: 1 Event detail code: 50202 Application information: Application domain: /LM/W3SVC/927932750/ROOT-4-129133366043417968 Trust level: WSS_Minimal Application Virtual Path: / Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\3938\ Machine name: SYSTEMSX Process information: Process ID: 4728 Process name: w3wp.exe Account name: SYSTEMSX\Administrator Request information: Request URL: http://Systemsx:3938/sites/HomeExp/ Request path: /sites/HomeExp/ User host address: 161.225.129.111 User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\IUSR Name to authenticate: Custom event details: Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="ASP.NET 2.0.50727.0" /> <EventID Qualifiers="16384">1315</EventID> <Level>4</Level> <Task>3</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2010-03-17T21:56:49.000000000Z" /> <EventRecordID>25061</EventRecordID> <Channel>Application</Channel> <Computer>SystemSX.BST.MYDOMAINSX.com</Computer> <Security /> </System> <EventData> <Data>4005</Data> <Data>Forms authentication failed for the request. Reason: The ticket supplied has expired.</Data> <Data>3/17/2010 4:56:49 PM</Data> <Data>3/17/2010 9:56:49 PM</Data> <Data>144b9d5c71004960bc1f55a8854084b7</Data> <Data>2</Data> <Data>1</Data> <Data>50202</Data> <Data>/LM/W3SVC/927932750/ROOT-4-129133366043417968</Data> <Data>WSS_Minimal</Data> <Data>/</Data> <Data>C:\inetpub\wwwroot\wss\VirtualDirectories\3938\</Data> <Data>SYSTEMSX</Data> <Data> </Data> <Data>4728</Data> <Data>w3wp.exe</Data> <Data>SYSTEMSX\Administrator</Data> <Data>http://Systemsx:3938/sites/HomeExp/</Data> <Data>/sites/HomeExp/</Data> <Data>161.225.129.111</Data> <Data> </Data> <Data>False</Data> <Data> </Data> <Data>NT AUTHORITY\IUSR</Data> <Data> </Data> </EventData></Event>Since the error is about "Ticket Expired" I tried most of solutions from internet. for eg set/removed cookieSlidingexpiration attribute.still no help. ULS logs or IIS logs dont have any info on the error.But the default zone site with windows authentication just works fine.I am sure it has something to do with the FBA. not sure what. Pasting below the providers from web.config < membership defaultProvider="SqlMemberProvider"> < providers> < add name="SqlMemberProvider" type="System.Web.Security.SqlMembershipProvider, System.Web,&#xD;&#xA; Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ASPMemberDB" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" passwordFormat="Hashed" applicationName="/" /> </ providers> </ membership> < roleManager enabled="true" defaultProvider="mySqlRoleProvider"> < providers> < add name="mySqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web,&#xD;&#xA; Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ASPMemberDB" applicationName="/" /> </ providers> </ roleManager> I have tried adding cookie timeout, sliding expiration, cookie name etc.. still no success.Any help is greatly appreciated.
March 18th, 2010 2:23am

Hi Balaje, From your post, you are using SQL membership provider, so please check whether your steps are correct according to the following articles, if not, please correct it and check the effect. Anonymous Access and Forms Authentication with WSS 3.0 http://channel9.msdn.com/shows/In+the+Office/Anonymous-Access-and-Forms-Authentication-with-WSS-30/ Forms Authentication in SharePoint Products and Technologies (Part 1): Introduction http://msdn.microsoft.com/en-us/library/bb975136.aspx#MOSS2007FBAPart1_BasicSetup Hope this helps. Rock WangRock Wang MSFT
Free Windows Admin Tool Kit Click here and download it now
March 19th, 2010 4:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics