.docx, .pptx, .xlsx open as compressed folder in IE8.

A quick one today. I had a case where the customer reported that IIS 6.0 returned Office 2007 / 2010 documents (.docx, .pptx, .xlsx, etc.) as compressed (.zip) files.Checking the IIS metabase (C:\WINDOWS\system32\inetsrv\metabase.xml ) showed that he MIMEMap was set correct, i.e: ….docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet…  However, when inspecting what came back from the server with Fiddler, it…

0

How to create a StackOverflowException. And how to figure out where it is happening.

StackOverflowException.   This usually means that you have a recursive call in your code. A recursion is simply a method that calls itself, causing the stack to overflow and throw the StackoverFlow exception.   A simple example:   namespace SimpleDemo {     class Program     {         static void Main(string[] args)         {             int…

2

How to exhaust the connectionpool from the Application_AuthenticateRequest method.

The other day I had a case where the customer reported that their web application intermittently got stuck.And as usual there was no clear cut pattern for when this happened. Luckily I have worked in the SQL Developer team even if I now work for the Internet Developer team and thishelped in figuring out what…

4

How to publish a calendar from Outlook to IIS and WebDAV

    How do I publish a shared calendar using WebDav?   If you have ever asked this question then hopefully the answer will be below.   The first thing you need to do is to make sure that WebDAV is installed on the IIS machine. This is discussed here: “Installing and Configuring WebDAV on…

5

How to use LogParser, SQL Server and ETW to find reasons for exceptions.

Today I’ll show you how to make life easier using ETW (or BID) tracing, Log Parser and a SQL Server.This will be a simplified example, but it should be enough to get you going and further troubleshoot your issues.   So, the first thing we need is something that crashes. Here you will have full…

2

How to figure out what exception is causing a high number in “# of Exceps Thrown / Sec” using ProcDump and WinDbg.

Today I’ll show you how to track/figure out what exceptions could cause a high number of .Net “# of Exceps Thrown / Sec” We’ll do this with WinDbg and ProcDump.   Let us start with reviewing the documentation for this performance counter.   “Exception Performance Counters”    http://msdn.microsoft.com/en-us/library/kfhcywhs.aspx   # of Exceps Thrown / Sec…

2

How to create a connection leak. And how to avoid it.

Ever dreamt off a .Net connection leak? If you have, then possibly you’ve rather dreamt about how to avoid it rather than how to create it.Below I will show how to create it, avoid it and why it may happen. First of all, why is a connection leak bad? Simply because if you leak a…

0

No files in the “IIS Temporary Compressed Files” directory. Some possible reasons.

I had a case were no files were stored (or missing) in the “IIS Temporary Compressed Files” directory. During research, I noticed that there were a few things to look for/think about when you see no compressed files in the ”IIS Temporary Compressed Files” directory. So here is a short list.   .1 Make sure…

0