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 http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx

Usage:
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

SampleOutput.png


Visit following link for further troubleshooting based on the information provided by this script
http://msdn.microsoft.com/en-us/library/ms269003.aspx
http://blogs.msdn.com/b/haahmadi/archive/2010/05/26/my-vsto-add-in-does-not-load.aspx
Last edited Jun 25 2010 at 6:48 PM  by Navneet, version 15
Updating...
Page view tracker