安装 Sense / NET 错误 ContentRegistrationException UnknownContentHandler SenseNet.ContentRepository.Security.ADSync.ADSettings
Installing Sense / NET Error ContentRegistrationException UnknownContentHandler SenseNet.ContentRepository.Security.ADSync.ADSettings
我正在尝试在我的机器(Win.Server 2012 R2 Datacenter)上安装 SN 评估版,但最后出现以下错误:
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\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentType.cs:line 549
at SenseNet.ContentRepository.Schema.ContentType.Build(IXPathNavigable definitionXml) in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentType.cs:line
at SenseNet.ContentRepository.Schema.ContentType.set_Binary(BinaryData value) in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentType.cs:line 73
at SenseNet.ContentRepository.Schema.ContentTypeManager.LoadOrCreateNew(IXPathNavigable contentTypeDefinitionXml) in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentTypeManager.cs:line 309
at SenseNet.ContentRepository.Schema.ContentTypeInstaller.Install(CTD ctd) in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentTypeInstaller.cs:line 118
at SenseNet.ContentRepository.Schema.ContentTypeInstaller.ExecuteBatch() in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentTypeInstaller.cs:line 106
at SenseNet.Tools.ContentImporter.ImporterClass.InstallContentTypeDefinitionsAndAspects(String ctdPath, String aspectsPath) in c:\Builds\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\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\Tools\Import\ImporterClass.cs:line 132
at SenseNet.Tools.ContentImporter.Importer.Main(String[] args) in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\Tools\Import\Importer.cs:line 115
请指教,
非常感谢。
您导入的内容具有无法找到的指定内容处理程序。此 "handler" 是一个 DLL,在这种情况下,您的 "Website\bin" and/or "Website\Tools" 路径中似乎缺少文件 "SenseNet.ContentRepository.dll",因为这是在您的错误消息中引用 ADSync.ADSettings 的文件。
如果您缺少此 DLL,那么您很可能缺少更多必需的文件。如果您在编译项目时遇到问题(它很大),那么您可以从 WebPI 安装程序中获取文件。这比较棘手,因为您需要先使用 SQL 文件创建数据库,然后从 WebPI 安装程序中解压缩文件,并将它们放在正确的位置。
我正在尝试在我的机器(Win.Server 2012 R2 Datacenter)上安装 SN 评估版,但最后出现以下错误:
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\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentType.cs:line 549
at SenseNet.ContentRepository.Schema.ContentType.Build(IXPathNavigable definitionXml) in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentType.cs:line
at SenseNet.ContentRepository.Schema.ContentType.set_Binary(BinaryData value) in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentType.cs:line 73
at SenseNet.ContentRepository.Schema.ContentTypeManager.LoadOrCreateNew(IXPathNavigable contentTypeDefinitionXml) in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentTypeManager.cs:line 309
at SenseNet.ContentRepository.Schema.ContentTypeInstaller.Install(CTD ctd) in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentTypeInstaller.cs:line 118
at SenseNet.ContentRepository.Schema.ContentTypeInstaller.ExecuteBatch() in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\ContentRepository\Schema\ContentTypeInstaller.cs:line 106
at SenseNet.Tools.ContentImporter.ImporterClass.InstallContentTypeDefinitionsAndAspects(String ctdPath, String aspectsPath) in c:\Builds\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\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\Tools\Import\ImporterClass.cs:line 132
at SenseNet.Tools.ContentImporter.Importer.Main(String[] args) in c:\Builds\SenseNet\PACKAGEEvaluation\Sources\Source\SenseNet\Tools\Import\Importer.cs:line 115
请指教,
非常感谢。
您导入的内容具有无法找到的指定内容处理程序。此 "handler" 是一个 DLL,在这种情况下,您的 "Website\bin" and/or "Website\Tools" 路径中似乎缺少文件 "SenseNet.ContentRepository.dll",因为这是在您的错误消息中引用 ADSync.ADSettings 的文件。
如果您缺少此 DLL,那么您很可能缺少更多必需的文件。如果您在编译项目时遇到问题(它很大),那么您可以从 WebPI 安装程序中获取文件。这比较棘手,因为您需要先使用 SQL 文件创建数据库,然后从 WebPI 安装程序中解压缩文件,并将它们放在正确的位置。