Updating App Domain Unloading Info#14
Open
MattTatoczenko wants to merge 1 commit intoPraveenTB:masterfrom
Open
Updating App Domain Unloading Info#14MattTatoczenko wants to merge 1 commit intoPraveenTB:masterfrom
MattTatoczenko wants to merge 1 commit intoPraveenTB:masterfrom
Conversation
Seems that the previous information was malformed and causing 500.19 errors. This is taken from this blog: https://blogs.msdn.microsoft.com/tess/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles/ How do you determine what caused an appdomain restart? In ASP.NET 2.0 you can use the built in Health Monitoring Events to log application restarts along with the reason for the restart. To do this you change the master web.config file in the C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIG directory and add the following to the <healthMonitoring><rules> section <add name=“Application Lifetime Events Default“ eventName=“Application Lifetime Events“ provider=“EventLogProvider“ profile=“Default“ minInstances=“1“
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Seems that the previous information was malformed and causing 500.19 errors.
This is taken from this blog: https://blogs.msdn.microsoft.com/tess/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles/
How do you determine what caused an appdomain restart?
In ASP.NET 2.0 you can use the built in Health Monitoring Events to log application restarts along with the reason for the restart. To do this you change the master web.config file in the C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIG directory and add the following to the section
<add name=“Application Lifetime Events Default“ eventName=“Application Lifetime Events“
provider=“EventLogProvider“ profile=“Default“ minInstances=“1“