I am helping another YAF forum member with issues in a YAF application pool shutting down after 48-96 hours of operation. When the forum goes down, the ASP.NET error being given is the following:
System.Web.HttpException (0x80004005): The EventLogWebEventProvider provider failed to log an event with the error code 0x80070057.
In the person's Windows event logs, there are HUNDREDS of the following error:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 1/5/2012 10:35:02 PM
Event time (UTC): 1/5/2012 3:35:02 PM
Event ID: 35ac7aa935ce432e9b0fab27883fbf39
Event sequence: 5915
Event occurrence: 2364
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/5/ROOT-1-129702502738385744
Trust level: Full
Application Virtual Path: /
Application Path: [[PROTECTED/REMOVED]]
Machine name: [[PROTECTED/REMOVED]]
Process information:
Process ID: 5500
Process name: w3wp.exe
Account name: [[PROTECTED/REMOVED]]
Exception information:
Exception type: ConfigurationErrorsException
Exception message: Thread was being aborted. ([[PROTECTED/REMOVED]]195\web.config line 87)
at System.Web.Security.Membership.Initialize()
at System.Web.Security.Membership.get_Provider()
at YAF.Classes.YafBoardSettings..ctor()
at YAF.Core.CurrentBoardSettings.<get_Instance>b__0()
at YAF.Core.HttpApplicationStateBaseExtensions.GetOrSet[T](HttpApplicationStateBase httpApplicationState, String key, Func`1 getValue)
at YAF.Core.CurrentBoardSettings.get_Instance()
at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Resolving.ComponentActivation.Activate(IEnumerable`1 parameters)
at Autofac.Core.Resolving.ComponentActivation.Execute(IEnumerable`1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Resolve(ISharingLifetimeScope activationScope, IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at YAF.Types.Interfaces.IServiceLocatorExtensions.Get[TService](IServiceLocator serviceLocator)
at YAF.Core.UnloadSessionForumModule.UnloadSessionModule_Unload(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Page.UnloadRecursive(Boolean dispose)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Thread was being aborted.
at System.Threading.Monitor.ObjWait(Boolean exitContext, Int32 millisecondsTimeout, Object obj)
at System.Web.Util.ReadWriteObjectLock.AcquireRead()
at System.Web.HttpApplicationStateLock.AcquireRead()
at System.Web.HttpApplicationState.Get(String name)
at System.Web.HttpApplicationStateWrapper.get_Item(String name)
at YAF.Providers.Membership.YafMembershipProvider.Initialize(String name, NameValueCollection config)
at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
Request information:
Request URL: http://forum.cadovn.com/default.aspx
Request path: /default.aspx
User host address: [[PROTECTED/REMOVED]]
User: [[PROTECTED/REMOVED]]
Is authenticated: True
Authentication Type: Forms
Thread account name: [[PROTECTED/REMOVED]]
Thread information:
Thread ID: 213
Thread account name: [[PROTECTED/REMOVED]]
Is impersonating: False
Stack trace: at System.Web.Security.Membership.Initialize()
at System.Web.Security.Membership.get_Provider()
at YAF.Classes.YafBoardSettings..ctor()
at YAF.Core.CurrentBoardSettings.<get_Instance>b__0()
at YAF.Core.HttpApplicationStateBaseExtensions.GetOrSet[T](HttpApplicationStateBase httpApplicationState, String key, Func`1 getValue)
at YAF.Core.CurrentBoardSettings.get_Instance()
at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Resolving.ComponentActivation.Activate(IEnumerable`1 parameters)
at Autofac.Core.Resolving.ComponentActivation.Execute(IEnumerable`1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Resolve(ISharingLifetimeScope activationScope, IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at YAF.Types.Interfaces.IServiceLocatorExtensions.Get[TService](IServiceLocator serviceLocator)
at YAF.Core.UnloadSessionForumModule.UnloadSessionModule_Unload(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Page.UnloadRecursive(Boolean dispose)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
What I have determined so far:
This forum has been progressively upgraded from versions back before 1.9.1.x, and the owner has used the proper web.config settings regarding using the upgrade version of the web.config(s). In the current web.config in place, line 87 (referenced above) has the following:
<add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafMembershipProvider" requiresUniqueEmail="false" type="YAF.Providers.Membership.YafMembershipProvider" hashHex="true" hashCase="upper" />
I ran the web.config through WinMerge against the recommended web.config for a fresh install to verify other differences and have not found anything that sticks out other than the configurations regarding the membership providers to maintain backwards compatability with the older YAF membership provider.
The forum in question is running on Windows 2008 Server R2 and ASP.NET v4. It has it's own dedicated pool, and by all appearances in browsing the site, seems to be a stock configuration of YAF, but it is running the latest packaged beta release as hosted on CodePlex.
If there is further diagnosis needed, please advise. I would like to help this member get to the bottom of this issue, as well as help the developers make sure there is not an issue with the newer versions against the older membership configurations under heavy traffic situations. The forum is a fairly high use system, with 300+ active users on average and over 3 million posts in the system.
Thank you for your time!
Edited by user
13 years ago |
Reason: Not specified
If you can't find it using the forum search, try my signature link -- searches this site using Google:
Google is my Friend