Open Closed

unable to start server #1357


User avatar
0
yuemy@sph.com.sg created
  • ABP Framework version: v4.2.2

  • UI type: MVCr

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): Tiered MVC Separate IDentity

  • Exception message and stack trace:

C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Failed to retrieve information about 'Microsoft.Extensions.FileProviders.Embedded' from remote source 'https://nuget.pkg.github.com/SPHTech/download/microsoft.extensions.fileproviders.embedded/index.json'. [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj]
C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj]

  • Steps to reproduce the issue:

  • just run dotnet run

Got this error when running dotnet run on a windows machine.

C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Failed to retrieve information about 'Microsoft.Extensions.FileProviders.Embedded' from remote source 'https://nuget.pkg.github.com/SPHTech/download/microsoft.extensions.fileproviders.embedded/index.json'. [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj]
C:\Program Files\dotnet\sdk\5.0.202\NuGet.targets(131,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\SPH\CommerceAdminWorkspace\src\SPHTech.Commerce.Admin.IdentityServer\SPHTech.Commerce.Admin.IdentityServer.csproj]

However when running/debugging withing Visual Studio there is no issues


5 Answer(s)
  • User Avatar
    0
    yuemy@sph.com.sg created

    Any help on this??

  • User Avatar
    0
    alper created
    Support Team Director

    hi,

    Response status code does not indicate success: 401 (Unauthorized).

    it seems like you didn't login via ABP CLI.
    1- Ensure that , ABP Commercial NuGet Source is added to your package sources with your valid API KEY (you can copy from a downloaded project)

    
    
      
        
        
        
      
    
    

    2- Login via ABP CLI where you run this project.

    abp login  -p 
    
  • User Avatar
    0
    yuemy@sph.com.sg created

    still not working for me.

    Already confirmed the Nuget.config file is correct with my API key.

    Already logged in to ABP as well.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi yuemy

    Can you try to remove or disable other nuget source in you Nuget.config?

    Include C:\Users\your-name\AppData\Roaming\NuGet\NuGet.Config

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 11, 2025, 10:10