2011-05-09 80 views
3

我试图在Windows Server 2008上运行CruiseControl.Net 1.6.7981.1。服务器和仪表板.config的配置已经完成。 Visual Studio 2010的安装在服务器上 当我开始CCNET服务我得到以下错误:Windows Server 2008上的CruiseControl 1.6问题

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...

请帮助?

回答

6

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

+0

由于它是一个64位操作系统,可能cruisecontol正在使用Framework64,(C:\ Windows \ Microsoft.NET \ Framework64),其中没有.NET 3.5存在? – 2011-05-09 07:03:03

+2

Thx的工具,真的很有帮助。它确实确认没有.NET 3.5安装 – 2011-05-09 07:07:45

相关问题