Home Screenshots Download Order Blog* Support
User Guide Style Tab Grouping Add-ins

Running Tabs Studio from a network share

Tabs Studio installs to a subdirectory in the user's My Documents directory. By default My Documents directory is on the system disk, but it can be changed to point to another disk or network share:

Network share target in My Documents properties

Tabs Studio for Visual Studio 2008

If My Documents was set to a network share, when you run Visual Studio 2008 you get "Error number: 80131417":

Tabs Studio add-in failed to load with error 80131417

A .NET dll running from a network share has less permissions than a dll running from a local disk. You need to add a new code group for the Addins directory with FullTrust to the "Code Access Security Policy". Run the following single line command with admin rights:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CasPol.exe -m -ag All_Code -url "file://\\server\share\user\Visual Studio 2008\Addins\*" FullTrust -n "VisualStudio2008Addins" -d "Visual Studio 2008 Add-ins"

Now after Visual Studio restart Tabs Studio should run just fine (you may need to re-enable it on startup in Tools - Add-in Manager).

To remove FullTrust from the Addins directory when you don't need it any more, run the following command with admin rights:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CasPol.exe -m -rg "VisualStudio2008Addins"

Note, if computer's System account doesn't have read access to the Addins directory you can manually delete TabsStuido.dll, TabsStudio.AddIn files and Microsoft.VC90.CRT directory from it. After that uninstallation or newer version installation works fine.

Tabs Studio for Visual Studio 2010/2012

In Visual Studio 2010/2012 (CLR v4) if you try to run Tabs Studio from a network share you get "Error number: 80131515":

Tabs Studio add-in failed to load with error 80131515 in VS 2010

To allow Tabs Studio to run you have to add the loadFromRemoteSources element (see the MSDN reference) to the devenv.exe.config file.

For VS 2010 to "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config"
For VS 2012 to "C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe.config"

(note, you need to run your editor with admin rights for correct devenv.exe.config modification):

<configuration>
   <runtime>
      <loadFromRemoteSources enabled="true"/>
   </runtime>
</configuration>
Return to User Guide