How to disable HTTP compression for specific file types?

The question arose from a customer whom had implemented an application to stream PDF files from ASP.NET and was also using HTTP compression to save bandwidth and improve download time; using IE 6, Adobe Reader failed to open the file with the following error message: Adobe Reader could not open ‘<name>.tmp’ because it is either…

3

ViewState validation troubles?

If you work with web sites in a complex/multi server environment you might be familiar with this error and as the error message itself suggest, the first thing to check if the machineKey value which must be the same across all of the involved server. Anyway every now and then it happens that you might…

2

“Padding is invalid an cannot be removed” or “WebPartManager is undefined”

I saw this error twice very recently and searching the Internet remarkably I’ve not been able to find any good explanation for it, so I hope this can be helpful in case you’ll get in trouble. Web Farm? The first occurrence happened with an application hosted on a web farm, and in IE the users…

3

WebResource.axd or ScriptResource.axd not working

Http compression with client-side scripting should be handled with care. The problem can have different symptoms and manifest in different ways, but essentially it has a common root cause and I have already discussed some of the aspects (for example see here and here). This time the customer whom reported the problem was using Forms…

3

How much garbage to you still have on the managed heap?

When you’re focused on a specific problem, you’re sunk into it and you’re at a dead end, you have to take a step back to see the whole picture and breath again before being able to continue; often discussing with a colleague whom still has a “fresh mind” and doesn’t know anything about the specific…

0

Need a hotfix… then “Fix it!”

Things keep moving and after some discussion (here and here I already expressed my view on the matter), the first KB article with a “Fix it” button to directly download the relevant hotfix has gone live a couple of days ago, check it out: http://support.microsoft.com/kb/945402/en-us. Carlo Quote of the day: Committee–a group of men who…

1

Troubles downloading public symbols?

Imagine you are debugging your dump, are already looking forward for the output of the command you just typed (say a kpn to get the stack of a thread) and you get this message instead: *** ERROR: Symbol file could not be found.  Defaulted to export symbols for mscorwks.dll WARNING: Frame IP not in any…

1

Invalid length for a Base-64 char array

There are various causes for this error, this is one we had some time ago when paginating through a DataGrid (for this case we’re talking about ASP.NET 1.1); the error appeared systematically under a specific user pattern: Invalid length for a Base-64 char array. Description: An unhandled exception occurred during the execution of the current…

6

How to automate Process Monitor

The other day I needed to capture a Process Monitor trace on a machine to troubleshoot a problem where the entire OS GUI was “broken” after the resume from screensaver; with “GUI broken” I mean that clicking on any icon on the desktop has no effect, the right click menu does not work etc…, but…

1

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 available…

1