A fix for "Could not access network location" when installing a Visual Studio Addin#

Just a quick hint: if you're installing addins for Visual Studio and the installer quits with a "Could not access network location "\\SomePath\Visual Studio\Addins", this probably means your "My Documents" folder is stored on a network drive, causing the installer to fail (for some reason I haven't yet discovered).

I found a pretty quick workaround, which is temporarily changing the location of the "My Documents" folder to a path on a local drive. You can do this by changing the registry key (all usual disclaimers apply, I didn't touch your computer so I didn't break it) "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurentVersion\Explorer\User Shell Folders\Personal". Note that the installer won't actually use this path to store anything, so it's safe to use any path you deem fit. If the addin installed properly after this hack, don't forget to change the registry key back to its original value and you should be fine.

I haven't tried it for other similar issues, but it might even work with any other type of software that breaks with the same error message.

Blog | Programming | .NET | VS.NET
Comments are closed.
All content © 2012, Jelle Druyts
On this page

Recent Photos
www.flickr.com
This is a Flickr badge showing public photos from Jelle Druyts. Make your own badge here.
Advertising
Top Picks
Statistics
Total Posts: 350
This Year: 0
This Month: 0
This Week: 0
Comments: 530
Archives
Sitemap
Disclaimer
This is my personal website, not my boss', not my mother's, and certainly not the pope's. My personal opinions may be irrelevant, inaccurate, boring or even plain wrong, I'm sorry if that makes you feel uncomfortable. But then again, you don't have to read them, I just hope you'll find something interesting here now and then. I'll certainly do my best. But if you don't like it, go read the pope's blog. I'm sure it's fascinating.

Powered by:
newtelligence dasBlog 2.0.7226.0

Sign In