This is a migrated thread and some comments may be shown as answers.

Visual Studio 2017 - Please provide Authorization headers with your request

1 Answer 110 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Les
Top achievements
Rank 1
Les asked on 20 Nov 2016, 01:31 PM

I just upgraded my MVC ASP.NET Core project from Visual Studio 2015 to 2017...I have been using it for the past couple of days...and now this item shows in my Error List....Do you know what this means or how it can be resolved?

SeverityCodeDescriptionProjectFileLineSuppression State
ErrorFailed to retrieve information from remote source 'https://nuget.telerik.com/nuget/FindPackagesById()?id='Microsoft.NET.Sdk.Web''.
Response status code does not indicate success: 401 (Please provide Authorization headers with your request.).0

 

Thanks,

Les

1 Answer, 1 is accepted

Sort by
0
Nikolay Mishev
Telerik team
answered on 23 Nov 2016, 05:00 PM
Hello Lis,

Indeed, there is a known issue regarding this problem. More details are available on the following page: 

https://github.com/dotnet/cli/issues/3174

The recommended workaround is as follows:
  1. Download the latest Nuget distribution from here (https://dist.nuget.org/index.html).
  2. Navigate to your solution folder and copy the nuget.exe there.
  3. Open Command prompt in the same folder.
  4. Execute the following command: "nuget.exe restore".
  5. The packages should be restored successfully.

Let me know if you need additional information.

Regards,
Nikolay Mishev
Telerik by Progress
Telerik UI for ASP.NET Core is ready for Visual Studio 2017 RC! Learn more.
Tags
Installer and VS Extensions
Asked by
Les
Top achievements
Rank 1
Answers by
Nikolay Mishev
Telerik team
Share this question
or