Browse by Tags

Tagged Content List
  • Blog Post: Thread exit may kill your Session

    Every now and then we got a call for an application which, randomly and without a specific pattern or apparent reason, shuts down all user’s sessions. Since ASP.NET 2.0 we can use Web Events to have more information on what is happening at the runtime level and this time the message we had in the event...
  • Blog Post: Fatal Execution Engine Error on x64 Framework

    I got two FEEE cases in a row last week, both of them for the same cause so I thought to blog about it hoping to save some stress and headshakes to someone else. The affected platform is 64 bit Framework (32 bit works fine), either Web or Windows application: randomly the application crashes and if...
  • Blog Post: minWorkerThreads and autoConfig

    A couple of days ago I was helping a colleague of mine with some tests and I had the need to change the ThreadPool configuration; more precisely, I wanted to increase the minWorkerThreads value. Everything was working fine at first, because I was changing the value by code using the SetMinThreads method...
  • Blog Post: HashTable insert failed. Load factor too high

    I already encountered a few recurrences of this errors and every time it has been a torture to capture a correct set of data (especially memory dumps) to review because this usually happens sporadically and you could have to wait weeks if not months before getting it again. There are a couple of hotfix...
  • Blog Post: autoConfig=”false” effects

    My post on autoConfig triggered and interesting discussion with my colleague Cenk about which is the real effect of this setting; one of his customers asked what to do if they needed to adjust only one or two values and not all the ones discussed in Contention, poor performance, and deadlocks when you...
  • Blog Post: “Invalid postback or callback argument” in ASP.NET

    I saw this error twice recently, but as often happens for two completely different cases so here they are, hope it helps someone to same their time… Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <...
  • Blog Post: MaxConnection does not have effect on ASP.NET 2.0

    An interesting change which you might have missed in .NET 2.0 is about the autoConfig setting for the <processModel> element. The customer was running out of available connections while accessing a remote web service and was trying to apply what’s suggested in Contention, poor performance...
  • Blog Post: Web Garden, AppDomain, statics… when Sql Server is not enough to save your session

    Things have gone a bit crazy lately, we’ve been under a huge workload and the time left for blogging was virtually non existent… but the good thing is that I’ve been working on a few interesting cases I hope I'll have time to blog about, and this is the first one. The problem The application...
  • Blog Post: Version numbers in a compiled assembly

    A while ago I got a call from a customer who wanted to understand what is the meaning of the version number's in a compiled assembly and more than that, he wanted to understand how they are calculated. He expected that at least the build number were incremented every time a build is done, but that was...
  • Blog Post: Code Access Security hosting control in IE

    PROBLEM You have a Windows Forms component hosted in Internet Explorer, and you want to catch events raised by this control from client side scripting; to avoid security errors at runtime, the control must have "Allow calls to unmanaged assemblies" permission. if you do this, you'll notice that this...
  • Blog Post: Http compression and WinForm controls as legacy ActiveX

    The following is the summary of a couple of cases I worked on a while ago, there are some details which I'll need to investigate thoroughly... anyway those are the facts so far. PROBLEM DESCRIPTION =================== I have a rich WinForms UserControl which is embedded into a web page. Since installing...
Page 1 of 1 (11 items)