5

I have installed Nuget 1.2 yesterday, and today, while I was trying to install Entity Framework package, I have encountered the following problem in the Package Manager Console:

PM> install-package entityframework
Install-Package : The package source named 'NuGet official package source [https://go.microsoft.com/fwlink/?LinkID=206669]' is either
invalid or not available and thus is currently unreachable.
At line:1 char:16
+ install-package <<<< entityframework
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

I can surft the internet and I don't think anything is preventing Visual Studio to access the internet.

Kamyar
  • 18,639
  • 9
  • 97
  • 171
  • Try opening a browser and navigating to https://go.microsoft.com/fwlink/?LinkID=206669 . Do you get redirected to http://packages.nuget.org/v1/FeedService.svc/ or do you get a error? A proxy my be blocking the FWLINK service. – Matthew M. Osborn Apr 13 '11 at 06:29

3 Answers3

8

Actually, there was something that was preventing Visual Studio from accessing the internet. Seems like VS had some problems with my proxy server.
So I used a solution that has been introduced in here and everything works fine now.

Community
  • 1
  • 1
Kamyar
  • 18,639
  • 9
  • 97
  • 171
0

Same issue happened to my setup. However, i found that VS 2010 uses proxy settings from Internet Explorer. I have removed proxy settings from IE and it was successfully connecting.

amarnath chatterjee
  • 1,942
  • 16
  • 15
0

To correct this problem permanently, a fix from Microsoft must be used

This is the name of the file KB2581019(VS10SP1-KB2581019-x86.exe)

While this link is active you can download path correction for it.

http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=38654

It's solved!

  • 3
    Note that [link-only answers](http://meta.stackoverflow.com/tags/link-only-answers/info) are discouraged, SO answers should be the end-point of a search for a solution (vs. yet another stopover of references, which tend to get stale over time). Please consider adding a stand-alone synopsis here, keeping the link as a reference. – kleopatra Jan 11 '14 at 14:40