500.19 Error when running nuget gallery from iis

后端 未结 4 1994
自闭症患者
自闭症患者 2021-02-07 15:17

I\'m trying to run a local install of Nuget Gallery but get a 500 error related to a bad config file. However, this only happens when running from IIS. If I run from IIS Expre

相关标签:
4条回答
  • 2021-02-07 15:54

    This has got to be the worst error message ever. Url Rewrite Module wasn't installed. Works fine now.

    0 讨论(0)
  • 2021-02-07 15:56

    To run NuGet Gallery, you need the following prerequisites (which contains the URL Rewrite Module):

    • VS 2010 or higher
    • PowerShell 2.0
    • NuGet Package Manager
    • Windows Azure SDK
    0 讨论(0)
  • 2021-02-07 16:01

    You can try to comment whole <rewrite> section in your Web.config. It's work for me.

    0 讨论(0)
  • 2021-02-07 16:02

    Came across this today and the URL Rewrite was the blocker as well. So first thing I did was go to Windows Features and tried to enable this feature for Internet Information Services but noticed that it wasn't there ( for Windows 8.1 and IIS 8.5 ) :(

    So, as a side note, the best way to enable the module is to use the Web Platform Installer, find the module by searching for "rewrite" and just install it.

    Nuget Gallery is working for me now. I should really change their documentation on Git and contribute to this..

    0 讨论(0)
提交回复
热议问题