Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global application object is being reseted
Message
From
18/05/2007 08:37:57
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01226327
Message ID:
01226652
Views:
21
>You should never rely on an object to be there because the AppDomain maybe killed for any number of reasons. Most common is code updates on the server, changes to web.config, IIS idle timeouts of Application Pools.

So, the fact that this only happens on one server might then be related to the IIS setting that can be different from one another.

>Your global objects should always be static and run with a static constructor so they can reactivate on the first hit that occurs against them.

Ok, I'll change that one to static and the related changes that might be related to that.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform