Search Wiki:
This powershell script displays information that can help while troubleshooting VSTO customization.

Before running this script Run powershell in Admin mode and run Set-ExecutionPolicy RemoteSigned

This script requires powershell to be installed; Windows Vista, Windows 7 and Windows Server 2008 comes with Powershell preinstalled.
For Windows XP please install powershell from

From a powershell command prompt run following commands
vstotroubleshooter.ps1 info <OfficeAppName>: To display troubleshooting information"
e.g. vstotroubleshooter info Outlook
vstotroubleshooter.ps1 setdbg: To set environment variable to get detailed Exception detailed
vstotroubleshooter.ps1 clrdbg: To clear environment variable set using setdbg

Sample Output


Visit following link for further troubleshooting based on the information provided by this script
Last edited Jun 25 2010 at 6:48 PM  by Navneet, version 15
Page view tracker