从IIS运行nuget gallery时出现500.19错误 [英] 500.19 Error when running nuget gallery from iis

查看:157
本文介绍了从IIS运行nuget gallery时出现500.19错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行Nuget Gallery的本地安装,但是遇到与配置文件错误有关的500错误.但是,仅当从IIS运行时,才会发生这种情况.如果我从IIS Express运行,则可以正常运行.谁能给我任何指示?

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 Express it works fine. Can anyone give me any pointers?


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: 

推荐答案

这一定是有史以来最严重的错误消息.未安装网址重写模块.现在可以正常工作.

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

这篇关于从IIS运行nuget gallery时出现500.19错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆