>Strange. So something goes wrong between the initialization of the variables and the firing of Page_Init. Does the constructor for the page fire? Ttry adding a constructor and logging it
Public Sub New()
> ' Log here
> End Sub
When it freezes, the New() is accessed at the base class level but not on the page. So, it gives this:
Id:__Page Framework.WebForm.Initialize() at 7/9/2010 3:47:22 PM
Id:__Page Framework.WebForm.New() at 7/9/2010 3:47:22 PM
Id:__Page LevelExtreme.WebForm.Initialize() at 7/9/2010 3:47:22 PM
When it works, it gives this:
Id:__Page Framework.WebForm.Initialize() at 7/9/2010 3:52:43 PM
Id:__Page Framework.WebForm.New() at 7/9/2010 3:52:43 PM
Id:__Page LevelExtreme.WebForm.Initialize() at 7/9/2010 3:52:43 PM
Id:__Page Framework.WebForm.Page_Init() at 7/9/2010 3:52:43 PM
Id: ShowHeaderStore.aspx.New() at 7/9/2010 3:52:43 PM
So, basically, the page New constructor gets executed after the Page_Init(). So, it doesn't serve any purpose to add a log in there as it is after Page_Init().
But, we can see that the base class new constructor is executed when it freezes.