Windows Server 2008 上的 CruiseControl 1.6 问题

发布于 2024-11-05 12:58:19 字数 3889 浏览 3 评论 0原文

我正在尝试在 Windows Server 2008 上运行 CruiseControl.Net 1.6.7981.1。服务器和仪表板 .config 已配置。服务器上安装了 Visual Studio 2010 当我启动 ccnet 服务时,出现以下错误:

CruiseControl.NET 服务器 1.6.7981.1 -- .NET 持续集成 服务器 log4net:错误 DefaultRepositorySelector:未处理的异常 GetInfoForAssembly System.IO.FileNotFoundException:无法加载 文件或程序集'System.Core,版本=3.5.0.0,文化=中性, PublicKeyToken=b77a5c561934e089' 或其依赖项之一。这 系统找不到指定的文件。文件名:'系统.Core, 版本=3.5.0.0,文化=中性,PublicKeyToken=b77a5c 561934e089'
在 System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeIn stArgs、Int32 typeInstCount、RuntimeTypeHandle* methodInstArgs、 Int32 方法Inst Count) at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] 方法实例化上下文)位于 System.Reflection.Module.ResolveType(Int32metadataToken, 类型[] genericTy peArguments、Type[] genericMethodArguments) at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib uteRecord caRecord、MetadataImport 范围、Assembly& lastAptcaOkAssembly、模块装饰模块、MetadataToken decoratedToken、RuntimeType attributeFilterType、布尔值 MustBeInheritable、Object[] 属性、IList 派生属性、 运行时类型& attributeType、RuntimeMethodHandle&演员,布尔运算 ctorHasParameters,布尔值& isVarArg) 在 System.Reflection.CustomAttribute.GetCustomAttributes(模块 decoratedModule、Int32decoratedMetadataToken、Int32pcaCount、 RuntimeType attributeFilterTyp e、Boolean MustBeInheritable、IList 派生属性)位于 System.Reflection.CustomAttribute.GetCustomAttributes(程序集 程序集,R untimeType caType) at System.Attribute.GetCustomAttributes(程序集元素,类型 attributeType, 布尔继承) at log4net.Core.DefaultRepositorySelector.GetInfoForAssembly(程序集 组装、串接存储库名称、类型&存储库类型)

警告:程序集绑定日志记录已关闭。启用程序集绑定 失败日志记录,设置注册表值 [HKLM\Software\M icrosoft\Fusion!EnableLog] (DWORD) 为 1。 注意:有一些 与程序集绑定失败日志记录相关的性能损失。到 关闭此功能,删除注册表值 [HKLM\Software\Microsoft\Fus ion!EnableLog]。

log4net:错误 DefaultRepositorySelector:配置失败 存储库 [log4net -default-repository] ​​来自程序集属性。 System.IO.FileNotFoundException:无法加载文件或程序集 'System.Core,版本=3.5.0.0,文化=中性, PublicKeyToken=b77a5c561934e089' 或其依赖项之一。这 系统找不到指定的文件。文件名:'系统.Core, 版本=3.5.0.0,文化=中性,PublicKeyToken=b77a5c 561934e089'
在 System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeIn stArgs、Int32 typeInstCount、RuntimeTypeHandle* methodInstArgs、 Int32 方法Inst Count) at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] 方法实例化上下文)位于 System.Reflection.Module.ResolveType(Int32metadataToken, 类型[] genericTy peArguments、Type[] genericMethodArguments) at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib uteRecord caRecord、MetadataImport 范围、Assembly& lastAptcaOkAssembly、模块装饰模块、MetadataToken decoratedToken、RuntimeType attributeFilterType、布尔值 MustBeInheritable、Object[] 属性、IList 派生属性、 运行时类型& attributeType、RuntimeMethodHandle&演员,布尔运算 ctorHasParameters,布尔值& isVarArg) 在 System.Reflection.CustomAttribute.GetCustomAttributes(模块 decoratedModule、Int32decoratedMetadataToken、Int32pcaCount、 RuntimeType attributeFilterTyp e、Boolean MustBeInheritable、IList 派生属性)位于 System.Reflection.CustomAttribute.GetCustomAttributes(程序集 程序集,R untimeType caType) at System.Attribute.GetCustomAttributes(程序集元素,类型 attributeType, 布尔继承) at log4net.Core.DefaultRepositorySelector.LoadAliases(组装程序集, ILog gerRepository 存储库)位于 log4net.Core.DefaultRepositorySelector.CreateRepository(程序集 存储库 yAssembly,类型存储库类型,字符串存储库名称, 布尔值 readAssemblyAttri butes)

警告:程序集绑定日志记录已关闭。启用程序集绑定 失败日志记录,设置注册表值 [HKLM\Software\M icrosoft\Fusion!EnableLog] (DWORD) 为 1。 注意:有一些 与程序集绑定失败日志记录相关的性能损失。到 关闭此功能,删除注册表值 [HKLM\Software\Microsoft\Fus ion!EnableLog]。

意外错误导致控制台崩溃,请按任意键 继续键...

请帮忙?

I am trying to run CruiseControl.Net 1.6.7981.1 on a windows server 2008. The server and dashboard .config's has been configured. Visual Studio 2010 is installed on the server
When I start the ccnet service I get the following error:

CruiseControl.NET Server 1.6.7981.1 -- .NET Continuous Integration
Server log4net:ERROR DefaultRepositorySelector: Unhandled exception in
GetInfoForAssemb ly System.IO.FileNotFoundException: Could not load
file or assembly 'System.Core, V ersion=3.5.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies. The
system cannot find the file specified. File name: 'System.Core,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c 561934e089'
at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle*
typeIn stArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs,
Int32 methodInst Count) at
System.ModuleHandle.ResolveTypeHandle(Int32 typeToken,
RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[]
methodInstantiationContext) at
System.Reflection.Module.ResolveType(Int32 metadataToken, Type[]
genericTy peArguments, Type[] genericMethodArguments) at
System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib
uteRecord caRecord, MetadataImport scope, Assembly&
lastAptcaOkAssembly, Module decoratedModule, MetadataToken
decoratedToken, RuntimeType attributeFilterType, Boolean
mustBeInheritable, Object[] attributes, IList derivedAttributes,
Runtime Type& attributeType, RuntimeMethodHandle& ctor, Boolean&
ctorHasParameters, Bool ean& isVarArg) at
System.Reflection.CustomAttribute.GetCustomAttributes(Module
decoratedModu le, Int32 decoratedMetadataToken, Int32 pcaCount,
RuntimeType attributeFilterTyp e, Boolean mustBeInheritable, IList
derivedAttributes) at
System.Reflection.CustomAttribute.GetCustomAttributes(Assembly
assembly, R untimeType caType) at
System.Attribute.GetCustomAttributes(Assembly element, Type
attributeType, Boolean inherit) at
log4net.Core.DefaultRepositorySelector.GetInfoForAssembly(Assembly
assembl y, String& repositoryName, Type& repositoryType)

WRN: Assembly binding logging is turned OFF. To enable assembly bind
failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some
performance penalty associated with assembly bind failure lo gging. To
turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fus ion!EnableLog].

log4net:ERROR DefaultRepositorySelector: Failed to configure
repository [log4net
-default-repository] from assembly attributes. System.IO.FileNotFoundException: Could not load file or assembly
'System.Core, V ersion=3.5.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies. The
system cannot find the file specified. File name: 'System.Core,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c 561934e089'
at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle*
typeIn stArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs,
Int32 methodInst Count) at
System.ModuleHandle.ResolveTypeHandle(Int32 typeToken,
RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[]
methodInstantiationContext) at
System.Reflection.Module.ResolveType(Int32 metadataToken, Type[]
genericTy peArguments, Type[] genericMethodArguments) at
System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib
uteRecord caRecord, MetadataImport scope, Assembly&
lastAptcaOkAssembly, Module decoratedModule, MetadataToken
decoratedToken, RuntimeType attributeFilterType, Boolean
mustBeInheritable, Object[] attributes, IList derivedAttributes,
Runtime Type& attributeType, RuntimeMethodHandle& ctor, Boolean&
ctorHasParameters, Bool ean& isVarArg) at
System.Reflection.CustomAttribute.GetCustomAttributes(Module
decoratedModu le, Int32 decoratedMetadataToken, Int32 pcaCount,
RuntimeType attributeFilterTyp e, Boolean mustBeInheritable, IList
derivedAttributes) at
System.Reflection.CustomAttribute.GetCustomAttributes(Assembly
assembly, R untimeType caType) at
System.Attribute.GetCustomAttributes(Assembly element, Type
attributeType, Boolean inherit) at
log4net.Core.DefaultRepositorySelector.LoadAliases(Assembly assembly,
ILog gerRepository repository) at
log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly
repositor yAssembly, Type repositoryType, String repositoryName,
Boolean readAssemblyAttri butes)

WRN: Assembly binding logging is turned OFF. To enable assembly bind
failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some
performance penalty associated with assembly bind failure lo gging. To
turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fus ion!EnableLog].

An unexpected error has caused the console to crash, please press any
key to con tinue...

Please assist?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神妖 2024-11-12 12:58:19

该消息表示无法加载.NET 3.5 的 System.Core。检查它是否安装正确。您可以使用此工具来验证安装,例如。

The message says it can't load System.Core of .NET 3.5. Check that it is installed correctly. You could use this tool to verify installation, for example.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文