TF237002: Cannot open the document because Microsoft Excel 2007 or later, or one of its components is not installed.
One of my colleagues got the following error each time he tried to export workitems to Excel from within the Team Explorer 2010 client:
TF237002: Cannot open the document because Microsoft Excel 2007 or later, or one of its components is not installed.
It took me some time to figure out what was wrong:
During the installation of Office 2007 he disabled the Office .Net Programmability Support.
To enable it you need to modify your installed version of Office and install this option.
1. In Add/Remove programs, locate your Office application and select it.
2. Click on the 'Change' button
3. Select 'Add or Remove features' and click 'next'
4. Select 'Choose advanced customization of applications' and click 'next' OR select something like 'Add .Net programmability support'.
5. In the tree view, expand 'Microsoft Office Excel' and make sure the .NET Programmability Support option is set to 'run from my computer'.
6. Click 'update'.