Wednesday, April 21, 2010

Registry Access from AddIn on 64bit Machine

Had a problem where an Office AddIn was trying to access a reg key. Worked fine on W2k3 but blew up on Win 7. Turned out to be a 64bit issue. The reg hive for HKLM on 64bit uses the following root for software HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node

File Not Found Exception when using SPSite

Trying to instantiate a site gave a File Not Found exception. Turned out to be a permission issue. Changed the farm account to a domain account (using stsadm –o updatefarmcredentials).

Tuesday, April 06, 2010

VSTO Installer

We have been working on ClickOnce deployment, and found this tool a while ago – keep forgetting it, so posting it here…

C:\Program Files\Common Files\Microsoft Shared\VSTO\9.0\VSTOinstaller.exe
/uninstall <name-of-manifest-file.vsto>