YipYip
YipYip

Reputation: 58

Nuget.Server 404 on package Push

I have setup NuGet.Server 3.3+ on Windows 10 IIS

[Working][1]

I can browse already inited packages on the server

When I try and push a known working package to my server

nuget push webgrease.1.6.0.nupkg -Source http://localhost/NuGetSrv/nuget

I get

I get 404

In fiddler the package is sent it looks to be a security issue on the server when it goes to write the file

I have use not network service / classic app pool and also tried admin account for the app pool

Also tried local c:\somedir and a \server\share

Upvotes: 3

Views: 1398

Answers (2)

user6635278
user6635278

Reputation:

If you're working on Azure, @HoopSnake's answer still apply, but its worderd differently.

In the App Service => Application Settings => Managed Pipeline Version set this to Integrated.

Atleast, that's what fixed it for me

Upvotes: 0

HoopSnake
HoopSnake

Reputation: 736

I had the same problem :/

If you can get packages but not add

Make sure you have the application pool set to Integrated and not Classic and your network share will work for pushing packages

Upvotes: 3

Related Questions