Visual Studio 2017 - Please provide Authorization headers with your request

2 posts, 0 answers
  1. Les
    Les avatar
    29 posts
    Member since:
    Feb 2011

    Posted 20 Nov 2016 Link to this post

    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

  2. Nikolay Mishev
    Admin
    Nikolay Mishev avatar
    20 posts

    Posted 23 Nov 2016 Link to this post

    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.
Back to Top