VSTO 2005 and Web Expression CTP

What? How can you link those two!!!???

I am working on Tech Head Brothers Authoring tool and it means that I need to provide a setup to all the authors. I did it following a real long tutorial in two parts:

And finally I had a setup that works on my machine. But as you know if it works on yours it doesn't mean that it works on all. Hey developers, an application doesn't need to run just on your machine ;-)

What was the issue on author machines?

The interesting part of the exception was:

System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'office, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c' ou une de ses dépendances. Le fichier spécifié est introuvable.

Office Version 12??? What the hell is this I use Office 2003 and VSTO 2005!!!

So I tried to add a reference to version 11 of office without any success because the version 12 was in the GAC. After some research I found that Web Expression was the one that installed the version 12 of the office DLL, and was causing the issue. Quick uninstall to find that VSTO was not able to create new VSTO projects in Visual Studio, so I tried uninstall/reinstall of VSTO for the same result. Will check that later.



ASP.NET Development Server crash

This morning I had a strange crash of ASP.NET Development Server, it is the first time that it happens and I was really stressed about it.

With debugger I got: "An unhandled exception of type 'System.StackOverflowException' occurred in Unknown Module."

I thought of third parties assemblies but that wasn't it, so I finally thought of infinite loop and pointed out that I was doing the following in my last changes:

public virtual string ChromeTemplateFile




        if (WebPartManager.GetCurrentWebPartManager(Page).DisplayMode == WebPartManager.BrowseDisplayMode)

            return BrowseDisplayModeChromeTemplateFile;


            return ChromeTemplateFile;


    set { throw new ApplicationException("Not Implemented"); }



Bingo, one miss tipping of a properties name and you end up in an infinite loop. Thanks Valentin for the nice msn talks ;-)


Jetbrains Resharper 2.0 Released

Scott was faster on that one. Nevermind I wanted to post it also because I find this tool awesome and can't really work without it anymore and it helps a lot in the development of new Tech Head Brothers website.

ReSharper top most features IMHO:

  1. Refactoring
  2. Navigation & Search
  3. Error Highlighting and Quick Fixes
  4. Code Assistance
  5. ASP.NET Editing

It is bundled for Visual Studio 2005 and Visual Studio 2003 and you might download it on this page.

[ Currently Playing : Phone Booth - Robert Cray - Heavy Picks (03:32) ]

About Laurent

Laurent Kempé

Laurent Kempé is the editor, founder, and primary contributor of Tech Head Brothers, a French portal about Microsoft .NET technologies.

He is currently employed by Innoveo Solutions since 10/2007 as a Senior Solution Architect, certified Scrum Master and Founding Member.

Founder, owner and Managing Partner of Jobping, which provides a unique and efficient platform for connecting Microsoft skilled job seekers with employers using Microsoft technologies.

Laurent was awarded Most Valuable Professional (MVP) by Microsoft from April 2002 to April 2012.

JetBrains Academy Member
Certified ScrumMaster
My status



This is a Flickr badge showing public photos and videos from Laurent Kempé. Make your own badge here.

Month List

Page List