2011-05-09 78 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

相關問題