Skip to content

Updating App Domain Unloading Info#14

Open
MattTatoczenko wants to merge 1 commit intoPraveenTB:masterfrom
MattTatoczenko:patch-1
Open

Updating App Domain Unloading Info#14
MattTatoczenko wants to merge 1 commit intoPraveenTB:masterfrom
MattTatoczenko:patch-1

Conversation

@MattTatoczenko
Copy link

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“

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“
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments