Windows Server 2003 x64 上的 CruiseControl.Net

标签 cruisecontrol.net windows-server-2003 64-bit

我在使用 CruiseControl.net 时遇到问题,Web 仪表板在 IIS 中无法正常工作。我曾尝试在 64 位和 32 位模式之间切换 ASP.Net 并重新安装巡航控制,但似乎没有任何效果。还有其他人在 64 位平台上遇到过 CruiseControl.Net 的问题吗?

干杯, 杰米

[编辑]

我想我应该澄清一下,我在尝试访问该网站时遇到了 404 错误。我使用的是正确的地址,因为它要求进行身份验证。 .aspx 处理程序正在运行,因为我没有从 ccnet 目录中看到 default.aspx 页面。

[编辑2]

我使用的是ccnet自带的默认web.config,但是这里是:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
    <!-- Change this if (for example) you want to keep your dashboard config file under source control -->
    <add key="DashboardConfigLocation" value="dashboard.config" />
</appSettings>

<system.web>
    <httpHandlers>
        <!-- Yes, we are overriding .aspx - don't delete this! We are using .aspx since we know it is already bound to ASP.NET. In future we might use a 
            different extension so that people can add their own ASP.NET pages if they want to, but we should make sure in that case to change how 
            URLs are created -->
        <add verb="*" path="*.aspx" type="ThoughtWorks.CruiseControl.WebDashboard.MVC.ASPNET.HttpHandler,ThoughtWorks.CruiseControl.WebDashboard"/>
        <add verb="*" path="*.xml" type="ThoughtWorks.CruiseControl.WebDashboard.MVC.ASPNET.HttpHandler,ThoughtWorks.CruiseControl.WebDashboard"/>
    </httpHandlers>
    <compilation defaultLanguage="c#" debug="true" />
    <customErrors mode="RemoteOnly" />
    <authentication mode="Windows" />
    <!--  APPLICATION-LEVEL TRACE LOGGING
        Application-level tracing enables trace log output for every page within an application. 
        Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
        trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
        application trace log by browsing the "trace.axd" page from your web application
        root. 
    -->
    <trace
        enabled="false"
        requestLimit="10"
        pageOutput="true"
        traceMode="SortByTime"
        localOnly="true"
    />
    <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password="
        cookieless="false" timeout="20" />
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>

最佳答案

看来我需要为 ASP.Net 启用 Web 服务扩展。我仍然没有在巡航控制网站属性中获得 ASP.Net 选项卡,但它正在运行。


C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727> 或 C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727> 64 位

键入 aspnet_regiis.exe –i

ASP.NET 将自行注册并出现在 Web 服务扩展中

关于Windows Server 2003 x64 上的 CruiseControl.Net,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/335812/

相关文章:

ms-office - 在服务器核心计算机上安装 Microsoft Office 2007

c++ - msvcprtd.lib(MSVCP100D.dll): fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

assembly - 如何在 Linux 驱动程序中切换到实模式

svn - 使用提交后 Hook 触发 Cruise Control.net 构建

mercurial - 如何将 CC.NET 构建到特定的 hg (Mercurial) 标签?

html - 在 CruiseControl 仪表板中显示 HTML 报告

cruisecontrol.net - 如何将exec的输出分配给NAnt中的属性

Django/Apache/mod_wsgi - WEB 应用程序挂起 - 无法启动

asp.net - 2台服务器,: IE shows two slightly different version上的相同网站

python - 在 64 位操作系统的 64 位 CPU 上运行 X86-64 Python 有什么好处吗?