So you’ve deployed your own private NuGet server to IIS but you get this annoying exception trying to push packages:

(405) Method Not Allowed

Well as stated in many web pages removing WebDAVModule does fix the issue, but be sure you add the configuration in the right section! (not in the elmah section) or the fix wont work…


<configuration>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
<remove name="WebDAVModule" />
</modules>...

Leave a Reply

Your email address will not be published. Required fields are marked *