Skip to the content

Adding Packages to Visual Studio 2010 TFS Project using NuGet Package manager Error “You are not authorized to access [tfs project collection]/Default collection

There was a recent issue where we had Visual Studio 2010 and wanted to add an Elmah package to our project but found that when we went to add it, there was an authentication error.
The solution to fix this was to add the TFS server to the authorised sites list in internet explorer.

  • Open Internet Explorer
  • Internet Explorer
  • Security tab
  • Trusted Sites -> click sites button
  • Add your TFS server address into the sites location.
  • Save and Close IE.


Try to add NuGet package again and it should work.

About the author

Fuse

Fuse is a Microsoft Gold Certified Partner, based in Northampton. We help organisations of all sizes to maximise IT efficiencies through the use of Microsoft cloud computing solutions.

comments powered by Disqus

Lets talk.

We'd love to hear from you :0)