我也尝试将一些内容导入 Sensenet,但它引发了以下错误:
14:12:12.4025 ========== Exception:
14:12:12.4155 Path: C:\Users\Administrator\source\repos\WebApplication6\WebApplication6\Admin\tools\import_legacy_content\content\workspaces2\IPA2013\Framework Workspaces\13SER01_2f15_2f71\ExAnteReviewList\ExAnteReview\Transmission_5fNote_5f1_5ffor_5fDIS_5f13SER01_5f14_5f71_5focr.pdf.Content
14:12:12.4315 ApplicationException: Cannot create a ContentInfo. Path: C:\Users\Administrator\source\repos\WebApplication6\WebApplication6\Admin\tools\import_legacy_content\content\workspaces2\IPA2013\Framework Workspaces\13SER01_2f15_2f71\ExAnteReviewList\ExAnteReview\Transmission_5fNote_5f1_5ffor_5fDIS_5f13SER01_5f14_5f71_5focr.pdf.Content
14:12:12.5955 at SenseNet.Packaging.Steps.ImportBase.ContentInfo..ctor(String path,Node parent)
at SenseNet.Packaging.Steps.ImportBase.ImporterClass.TreeWalker(String path,Boolean pathIsFile,Node folder,String indent,Boolean aspects,Boolean settings)
14:12:12.6115 pathtoolongexception: The specified path,file name,or both are too long. The fully qualified file name must be less than 260 characters,and the directory name must be less than 248 characters.
14:12:12.6625 at System.IO.Path.NewNormalizePathLimitedChecks(String path,Int32 maxPathLength,Boolean expandShortPaths)
at System.IO.Path.NormalizePath(String path,Boolean fullCheck,Boolean expandShortPaths)
at System.IO.Path.InternalGetDirectoryName(String path)
at SenseNet.Packaging.Steps.ImportBase.ContentInfo..ctor(String path,Node parent)
14:12:12.6885 =====================
我对注册表和组策略进行了更改以启用对长文件名的支持,但错误仍然出现。 我是否需要更改某些 Sensenet 配置文件才能使其正常工作?
谢谢