Package Upload in local NuGet Gallery

Topics: General
Jun 20, 2012 at 7:16 AM
Edited Jun 20, 2012 at 7:19 AM

Hello all,

Finally, I was able to set up local gallery on IIS7 to host our company dependencies. However I noticed strange behavior. When I try to upload package which size is over 30MB I am getting "Not Found" response. Web config checked -> httpRuntime section has correct maxRequestLength value. The strange thing is that I can reproduce it running from Visual Studio Gallery instance and no error/exception is reported anywhere. I'm sure I'm missing something in ASP.NET/IIS configuration...

Any ideas ?


Jun 20, 2012 at 12:58 PM

I managed to fix it :) system/web.server/security/requestFiltering/@requestLimits element was missing and due to web.config configuration errors were not presented on site.