Frage

I've configured a local nuget server as described here: http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds

I can browse to it and look at the feed. But I can not publish packages to it. I just get error 405 all the time.

I've made sure that the App Pool account has Change privileges for the Packages folder.

My config:

<appSettings>
  <add key="requireApiKey" value="true" />
  <add key="apiKey" value="XXXXX" />
  <add key="packagesPath" value="c:\projects\nuget\Packages" />
</appSettings>

I've also found this issue: http://nuget.codeplex.com/workitem/1789. I've removed the WebDav module/handler but do still get the error.

War es hilfreich?

Lösung

Removing webdav did work. I've just managed to remove it in the ELMAH folders and not in the root.

Correct config:

<configuration>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="WebDAVModule" />
    </modules>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top