首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Kentico 11持续集成无法序列化报告对象

Kentico 11持续集成无法序列化报告对象
EN

Stack Overflow用户
提问于 2018-08-23 23:36:41
回答 1查看 86关注 0票数 0

在启用持续集成之后,我们正在尝试序列化对象,但该过程在报告中失败并返回附加的错误。这是一个全新的空白azure门户网站,几乎没有任何变化。我们正在尝试在一个由4名开发人员组成的团队之间进行共享开发的设置,使用他们的本地计算机和SQL express来开发,然后使用VSTS源代码管理将站点迁移到Azure。

代码语言:javascript
复制
Message: Serialization of object type "Report graph" (reporting.reportgraph) failed for object "graph" (GraphID: 1881). See inner exception for further details.

Exception type: CMS.ContinuousIntegration.ObjectTypeSerializationException
Stack trace: 
   at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.StoreSingleObjectTypeObject(FileSystemStoreJob storeJob, ObjectTypeInfo typeInfo, String objectType, BaseInfo info, Int32 counter, Int32 total)
   at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.<>c__DisplayClass8_0.b__0(BaseInfo info)
   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](CancellationToken cancellationToken, IEnumerable`1 collection, Action`2 action)
   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](CancellationToken cancellationToken, IEnumerable`1 collection, Action`1 action)
   at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.StoreAllObjectTypeObjects(String objectType, Int32 counter, Int32 total)
   at CMS.ContinuousIntegration.Internal.AbstractFileSystemJob.CancellableForEach[T](CancellationToken cancellationToken, IEnumerable`1 collection, Action`2 action)
   at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.StoreObjects()
   at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.RunInternal(CancellationToken cancellationToken)
   at CMS.ContinuousIntegration.Internal.AbstractFileSystemAllJob.Run(Nullable`1 cancellationToken)

Message: Serialization of the object CMS.Reporting.ReportGraphInfo (reporting.reportgraph) - graph has failed.

Exception type: CMS.ContinuousIntegration.ObjectSerializationException
Stack trace: 
   at CMS.ContinuousIntegration.Internal.AbstractSingleObjectJob.Run(BaseInfo baseInfo)
   at CMS.ContinuousIntegration.Internal.FileSystemStoreAllJob.StoreSingleObjectTypeObject(FileSystemStoreJob storeJob, ObjectTypeInfo typeInfo, String objectType, BaseInfo info, Int32 counter, Int32 total)

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

Exception type: System.IO.PathTooLongException
Stack trace: 
   at System.IO.PathHelper.GetFullPathName()
   at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at CMS.AzureStorage.FileStream.InitFileStream()
   at CMS.AzureStorage.FileStream..ctor(String path, FileMode mode, FileAccess access, IDateTimeNowService dateTimeNowService)
   at CMS.AzureStorage.File.Open(String path, FileMode mode, FileAccess access)
   at CMS.IO.File.Open(String path, FileMode mode, FileAccess access)
   at CMS.ContinuousIntegration.FileSystemWriter.GetFileCryptoStream(String relativePath, HashAlgorithm hashAlgorithm)
   at CMS.ContinuousIntegration.FileSystemWriter.StoreToFile(String relativePath, Action`1 fileStreamWriteAction)
   at CMS.ContinuousIntegration.Internal.AbstractSingleObjectJob.Run(BaseInfo baseInfo)
EN

回答 1

Stack Overflow用户

发布于 2018-08-24 03:25:15

您的项目在什么位置运行?文件路径的字符已用完。

我建议尝试将解决方案移动到离C:/根更近的位置。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51989455

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档