문제

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.

도움이 되었습니까?

해결책

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>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top