FogBugz for Visual Studio produces error number 8013150a when loaded from network drive
Symptom: When you try to enable the FogBugz Add-In for Visual Studio, you receive the following error message:
"The Add-in 'FogBugz for Visual Studio' failed to load or caused an exception.
Would you like to remove this Add-in?
If you choose yes, the file it was loaded from, path\FogBugzForVisualStudio.AddIn, will be renamed.Error Message: <Unknown Error>
Error number: 8013150a
Cause: The add-in is installed on a network drive, probably because your home directory ("My Documents") is located on a server on your Intranet.
Solution: Copy the add-in to a local hard drive, by following these steps:
-
Say "No" to the error message -- do not remove the add-in.
-
Exit Visual Studio.
-
Make a directory on your hard drive, for example c:\Program Files\FogBugzForVisualStudio. The name doesn't matter but it does need to be on a local hard drive, not on the intranet.
-
Find the two files that make up the add-in. They should be located in "My Documents" in a subdirectory called Visual Studio 2005\Addins. The two files are:
-
FogBugzForVisualStudio.AddIn
-
FogBugzForVisualStudio.dll
-
If the .AddIn file ends with an underscore (FogBugzForVisualStudio.AddIn_), rename the file to remove the underscore.
- Move those two files into the directory you created.
- Run Visual Studio 2005.
- Choose Tools | Options
- Go to the Environment | Add-in / Macros Security tab
- Click Add and point to the directory where you put the add-in
- Click OK
- Restart Visual Studio
- Choose Tools | Add-in Manager and check the box next to FogBugz for Visual Studio. Also check the box in the Startup column.
- FogBugz for Visual Studio should load.
More details: FogBugz for Visual Studio is a .NET assembly. When Visual Studio loads add-ins in the form of .NET assemblies over a network from the Intranet zone, it does not completely trust them. This generates a security violation.
