configuration - CruiseControl.net 在 Vista x64 上失败并出现 HTTP 错误 500

标签 configuration windows-vista cruisecontrol.net

我在 Vista x64 开发计算机上安装了 CruiseControl.net(来自 CruiseControl.NET-1.4-Setup.exe 安装程序)。服务器部分运行良好;但是,网络仪表板部分无法正常工作。

当我尝试拉起 http://localhost/ccnet 时看到的第一条错误消息提示无法在集成管道模式下运行。轻松固定。我打开了 IIS7 管理面板,并将 ccnet 应用程序更改为使用“Classic .NET App Pool”应用程序池。

但是,当我尝试连接时,我现在收到持续的 HTTP 错误 500。我将 webdashboard 文件夹的 NTFS 权限设置为完全开放,希望这可能是文件权限问题。没有喜悦。

经过一番挖掘和反复试验,我发现了一组似乎可以解决问题的步骤。我会在这之后发布一个后续答案,但想在 stackoverflow 上分享这个答案,希望它可以帮助其他人。另外,如果有更好的配置解决方案,我会洗耳恭听:)

最佳答案

这是我得到的 HTTP 500 错误转储的顶部:

HTTP Error 500.0 - Internal Server Error

Description: The page cannot be displayed because an internal server error has occurred.

Error Code: 0x800700c1

Notification: ExecuteRequestHandler

Module: IsapiModule

Requested URL: http://localhost/ccnet/default.aspx

Physical Path: C:\Program Files (x86)\CruiseControl.NET\webdashboard\default.aspx

Logon User: Anonymous

Logon Method: Anonymous

Handler: AboMapperCustom-80778

Most likely causes:

IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. IIS was not able to process configuration for the Web site or application. The authenticated user does not have permission to use this DLL. The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

对我来说解决这个问题的关键是 Handler 行。由于某种原因,ccnet Web 应用程序配置了两个争夺 *.aspx 控制权的处理程序。真正的处理程序来自 Thoughtworks,在 web.config 文件中设置。然而,当我打开 ccnet 应用程序的 IIS7 控制面板的“处理程序映射”部分时,我看到已经创建了另一个名为 AboMapperCustom-80778 的处理程序,并设置为查找 *.aspx。

我右键单击该处理程序并选择“删除”。之后 ccnet 应用程序开始运行良好。

关于configuration - CruiseControl.net 在 Vista x64 上失败并出现 HTTP 错误 500,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/170777/

相关文章:

configuration - 在 EAR 文件中保留配置设置的最佳实践是什么?

jsp - Tomcat只为一个用户执行JSP文件

c - 使用 CryptUnprotectData 解密 WEP wlan 配置文件 key

c++ - 防止显示器开机

msbuild - 如何通过 CruiseControl.NET 发布 ClickOnce 应用程序?

java - 如何避免在我的java bean中使用Spring注释并仅在配置类中使用它们?

windows - 如何在 Windows 上配置 svn authz?

c++ - 如何编写新的 Windows Shell?

.net - Windows Server 2008 上的 CruiseControl 1.6 问题

build-process - 是否有针对 .NET 应用程序的预制持续集成解决方案?