WSS 3.0 Form Authentication Inital login issue
I just recent added another authentication provider for form authentication. i am able to log in and browse around the site with the permission i gace my test SQL authenticated user however.... the first time i log in every time i recieve access denied on
thefirst subsite of my main site, all i need to do is simply hit "go back to site" and it takes me to where i want to go. This happens ONCE with what ever user i initally log in as. I am able to from there log in as any other user with no other issues
until i reopen the browser.
Recap: Inital access denied on main sites subsite(not my search center site)
Hit "go back to site" and it takes me to where i want to go
happens every time i open a new browser(firefox, Ie) once it fails once its fine till i reopen the browser.
Any help or thoughts would be appreciated im banging my head on this.
Steve
July 15th, 2010 11:49pm
Hi,
I think there are some wrong data in your site.
Please go to check event logs and ULS logs (..\Microsoft Shared\web server extensions\12\LOGS folder with the name
format of ServerName-Date-Timestamp.log as default configuration)) to analysis to narrow the issue scope.
Hope it is helpful!
Seven
Free Windows Admin Tool Kit Click here and download it now
July 17th, 2010 12:44pm
here is what i think is the error specifically related to the issues
"07/19/2010 08:08:18.61 w3wp.exe (0x183C) 0x0E1C Windows SharePoint
Services General 72nz Medium Videntityinfo::isFreshToken
reported failure. "
Unfortunately i don't know what this means, Google will be my friend for hour or so here maybe. If anyone has further insight let me know.
The resr off the error log is as follows for the 1 minute i logged in and got the error.
07/19/2010 08:22:46.15 w3wp.exe (0x183C) 0x13E8 SharePoint Portal
Server WebParts 8dxr Unexpected
SearchBoxEx AfterDeserialize begin
07/19/2010 08:22:46.15 w3wp.exe (0x183C) 0x13E8 SharePoint Portal Server
WebParts 8dxt Unexpected SearchBoxEx AfterDeserialize end
07/19/2010 08:22:46.24 w3wp.exe (0x183C) 0x13E8 Windows SharePoint Services
General 0 Medium Potentially excessive number
of SPRequest objects (9) currently unreleased on thread 12. Ensure that this object or its parent (such as an SPWeb or SPSite) is being properly disposed. Allocation Id for this object: {AA694ACA-40F9-4638-AA9E-C4D78601A98C} Stack trace of current
allocation: at Microsoft.SharePoint.SPRequestManager.Add(SPRequest request, Boolean shareable) at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext,
Byte[] UserToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous) at Microsoft.SharePoint.SPWeb.InitializeSPRequest() at Microsoft.SharePoint.SPWeb.EnsureSPRequest()
at Microsoft.SharePoint.SPWeb.get_Request() at Microsoft.SharePoint.SPWeb.InitWebPub...
July 19th, 2010 4:21pm
**UPDATE** i cause the error through Firefox this time and got
"07/19/2010 08:34:23.81 w3wp.exe (0x183C) 0x1884 Windows SharePoint
Services General 0 Medium Potentially
excessive number of SPRequest objects (9) currently unreleased on thread 13. Ensure that this object or its parent (such as an SPWeb or SPSite) is being properly disposed. Allocation Id for this object: {C386A3CE-C5A2-4995-BEF0-2CE37AAAE4A6} Stack
trace of current allocation: at Microsoft.SharePoint.SPRequestManager.Add(SPRequest request, Boolean shareable) at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(Boolean bNotGlobalAdminCode, String strUrl,
Boolean bNotAddToContext, Byte[] UserToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous) at Microsoft.SharePoint.SPWeb.InitializeSPRequest() at Microsoft.SharePoint.SPWeb.EnsureSPRequest()
at Microsoft.SharePoint.SPWeb.get_Request() at Microsoft.SharePoint.SPWeb.InitWebPub...
07/19/2010 08:34:23.81* w3wp.exe (0x183C) 0x1884 Windows SharePoint Services
General 0 Medium ...lic()
at Microsoft.SharePoint.SPWeb.get_ServerRelativeUrl() at Microsoft.SharePoint.SPChangeCollection.InitChangeCollection() at Microsoft.SharePoint.SPChangeCollection.ConstructChangeCollection(SPChangeQuery query)
at Microsoft.SharePoint.SPChangeCollection..ctor(SPSite site, SPChangeQuery query) at Microsoft.SharePoint.SPSite.GetChanges(SPChangeToken changeToken, SPChangeToken changeTokenEnd) at Microsoft.SharePoint.Publishing.CacheManager.<>c__DisplayClass9.<GetManager>b__4()
at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state) at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated
secureCode) at Microsoft.SharePoi...
07/19/2010 08:34:23.81* w3wp.exe (0x183C) 0x1884 Windows SharePoint Services
General 0 Medium ...nt.SPSecurity.RunWithElevatedPrivileges(WaitCallback
secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at Microsoft.SharePoint.Publishing.CacheManager.GetManager(SPSite site, Boolean useContextSite)
at Microsoft.SharePoint.Publishing.CacheManager.GetManager(SPSite site) at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.get_ObjectFactory() at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.get_TryGetRootNode()
at Microsoft.SharePoint.Portal.WebControls.SearchBoxEx.GetSiteDefaults() at Microsoft.SharePoint.Portal.WebControls.SearchBoxEx.CreateChildControls() at System.Web.UI.Control.EnsureChildControls()
at Microsoft.SharePoint.Portal.WebControls.SearchBox...
07/19/2010 08:34:23.81* w3wp.exe (0x183C) 0x1884 Windows SharePoint Services
General 0 Medium ...Ex.OnLoad(Object sender,
EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Pag...
07/19/2010 08:34:23.81* w3wp.exe (0x183C) 0x1884 Windows SharePoint Services
General 0 Medium ...e.ProcessRequest(HttpContext
context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr) at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32
iWRType)
07/19/2010 08:34:25.17 w3wp.exe (0x183C) 0x1008 Windows SharePoint Services
General 8kh7 High Access denied."
As you can see it ends with access denied, the next line is for Email so i know this is the end.
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2010 4:37pm
Found this sucker actually, finding things on the internet, will post back if i find a solution.
Event code: 4005
Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired.
Event time: 7/19/2010 10:32:46 AM
Event time (UTC): 7/19/2010 3:32:46 PM
Event ID: 05c21b4c3fc64355a7fb208c3f44458d
Event sequence: 86
Event occurrence: 1
Event detail code: 50202
Application information:
Application domain: /LM/W3SVC/1553650045/Root-2-129240014451195449
Trust level: Full
Application Virtual Path: /
Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\36341\
Machine name: *MY SERVERNAME*
Process information:
Process ID: 6204
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Request information:
Request URL: http://SERVERNAME:36341/
Request path: /
User host address: 10.0.0.37
User:
Is authenticated: False
Authentication Type:
Thread account name: SERVERNAME\IUSR_SERVERNAME
Name to authenticate:
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
July 19th, 2010 6:38pm
Hi,
For this error, you can read the following articles:
http://support.microsoft.com/kb/910443/en-us
http://dotnetusergroup.com/blogs/omar/archive/2006/09/13/236.aspx
http://www.sharpdevel.com/2007/10/event-message-forms-authentication.html
Hope it is helpful!Seven
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2010 6:56am