安装Sense / NET错误ContentRegistrationException UnknownContentHandler SenseNet.ContentRepository.Security.ADSync.ADSettings

时间:2017-02-13 11:46:40

标签: sensenet

我正在尝试在我的计算机上安装SN评估版(Win.Server 2012 R2 Datacenter),最后出现以下错误:

2017-02-13 11:34:08.2961    XsltApplicationCtd.xml ... Ok
2017-02-13 11:34:08.2961    YesNoFieldSettingCtd.xml ... Ok
2017-02-13 11:34:08.2961    
2017-02-13 11:34:08.2961    Installing content types...
2017-02-13 11:34:10.6787    ========================================
2017-02-13 11:34:10.6787    Import ends with error:
2017-02-13 11:34:10.6857    ========== Exception:
2017-02-13 11:34:10.6867    ContentRegistrationException: UnknownContentHandler: 'SenseNet.ContentRepository.Security.ADSync.ADSettings'. ContentType: ADSettings
2017-02-13 11:34:10.8027       at SenseNet.ContentRepository.Schema.ContentType.SetFieldSlots(Type handlerType) in     c:\Builds\8\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentType.cs:line 549
at SenseNet.ContentRepository.Schema.ContentType.Build(IXPathNavigable definitionXml) in     c:\Builds\8\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentType.cs:line 
at SenseNet.ContentRepository.Schema.ContentType.set_Binary(BinaryData value) in     c:\Builds\8\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentType.cs:line 73
at SenseNet.ContentRepository.Schema.ContentTypeManager.LoadOrCreateNew(IXPathNavigable contentTypeDefinitionXml) in c:\Builds\8\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentTypeManager.cs:line 309
at SenseNet.ContentRepository.Schema.ContentTypeInstaller.Install(CTD ctd) in c:\Builds\8\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentTypeInstaller.cs:line 118
at SenseNet.ContentRepository.Schema.ContentTypeInstaller.ExecuteBatch() in c:\Builds\8\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentTypeInstaller.cs:line 106
at SenseNet.Tools.ContentImporter.ImporterClass.InstallContentTypeDefinitionsAndAspects(String ctdPath, String aspectsPath) in c:\Builds\8\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\Tools\Import\ImporterClass.cs:line 389
at SenseNet.Tools.ContentImporter.ImporterClass.Run(String schemaPath, String asmPath, String fsPath, String repositoryPath, Boolean validate, Boolean resetSecurity) in c:\Builds\8\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\Tools\Import\ImporterClass.cs:line 132
at SenseNet.Tools.ContentImporter.Importer.Main(String[] args) in c:\Builds\8\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\Tools\Import\Importer.cs:line 115

请建议,

非常感谢。

1 个答案:

答案 0 :(得分:1)

您的导入已导入具有无法找到的指定内容处理程序的内容。这个“处理程序”是一个DLL,在这种情况下,它看起来像你在“Website \ bin”和/或“Website \ Tools”路径中缺少文件“SenseNet.ContentRepository.dll”,因为这是一个文件在错误消息中引用ADSync.ADSettings。

如果您缺少此DLL,则很可能您缺少更多必需的文件。如果您在编译项目时遇到问题(它很大),那么您可以从WebPI安装程序获取文件。这非常棘手,因为您需要首先使用SQL文件创建数据库,然后从WebPI安装程序解压缩文件,并将它们放在正确的位置。