Category Archives: 18335

SOLVED: Error ‘(405) Method Not Allowed’ when publishing a NuGet package to a NuGet server

The Problem

When trying to publish NuGet Packages to a NuGet server you get the error message:

Failed to process request. 'Method Not Allowed'.

The remote server returned an error: (405) Method Not Allowed.

The Solution

Found in this post on stackoverflow.com:

When you LIST packages in NuGet server you point to http://nugetserver.com/nuget. However when you are trying to PUSH or DELETE a package you need to point to http://nugetserver.com without the nuget folder in the path.

Good luck!

–Neno