Windows Server 2003 x64 上的 CruiseControl.Net [英] CruiseControl.Net on Windows Server 2003 x64

查看:24
本文介绍了Windows Server 2003 x64 上的 CruiseControl.Net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm having an issue with CruiseControl.net where the web dashboard just won't work in IIS. I have tried switching ASP.Net between 64 and 32 bit modes and reinstalling cruise control, but nothing seems to work. Has anyone else had issues with CruiseControl.Net on 64 bit platforms?

干杯,杰米

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

Thought I should clarify, I am getting a 404 error when I try access the website. I am using the correct address because it asks for authentication. The .aspx handler is working because I don't see the default.aspx page from the ccnet directory.

我使用的是 ccnet 附带的默认 web.config,但它是:

I am using the default web.config that comes with ccnet, but here it is:

<?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 选项卡,但它正在工作.

It seems I needed to enable Web Service Extensions for ASP.Net. I'm still not getting an ASP.Net tab in the cruise control website properties, but it is working.

C:WINDOWSMicrosoft.NETFrameworkv2.0.50727> 或 C:WINDOWSMicrosoft.NETFramework64v2.0.50727> 64 位

C:WINDOWSMicrosoft.NETFrameworkv2.0.50727> or C:WINDOWSMicrosoft.NETFramework64v2.0.50727> for 64 bit

输入 aspnet_regiis.exe – i

Type aspnet_regiis.exe – i

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

ASP.NET will register itself and show up in Web Service Extensions

这篇关于Windows Server 2003 x64 上的 CruiseControl.Net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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