Users with My Documents on a network share

Aug 31, 2007 at 7:47 PM
Edited Aug 31, 2007 at 7:47 PM
If your network admin has your My Documents folder linked to a network share, HyperAddin (as would any addin) will not load properly when you follow the deployment instructions. (Likely a 80131417 error).

In order to get the add-in to work for the directory the add-in was copied to, you need to grant full trust to that directory. In order to do that you need to be running as an administrator and run the following from a Visual Studio 2005 Command Prompt

caspol -m -ag LocalIntranet_Zone -url "\\servername\sharename\username\Visual Studio 2005\Addins\*" FullTrust -n "Visual Studio 2005 Add-ins" -d "Visual Studio 2005 Add-ins"

Replace servername and sharename with appropriate names. replace username with an appropriate folder name or folder hierarchy.