从iis运行nuget gallery时出现500.19错误

dev*_*ife 13 iis-7.5 nuget-server

我正在尝试运行Nuget Gallery的本地安装,但得到与错误配置文件相关的500错误.但是,这仅在从IIS运行时发生.如果我从IIS Express运行它可以正常工作.任何人都可以给我任何指示吗?

Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information
Module  IIS Web Core
Notification    BeginRequest
Handler Not yet determined
Error Code  0x8007000d
Config Error    
Config File \\?\C:\inetpub\NuGetGallery\Website\web.config
Requested URL   http:\\[localhost]:80/Nuget
Physical Path   C:\inetpub\NuGetGallery\Website
Logon Method    Not yet determined
Logon User  Not yet determined
Config Source
   -1: 
    0: 

dev*_*ife 19

这必须是有史以来最糟糕的错误信息.未安装Url Rewrite Module.现在工作正常.