在启用持续集成之后,我们正在尝试序列化对象,但该过程在报告中失败并返回附加的错误。这是一个全新的空白azure门户网站,几乎没有任何变化。我们正在尝试在一个由4名开发人员组成的团队之间进行共享开发的设置,使用他们的本地计算机和SQL express来开发,然后使用VSTS源代码管理将站点迁移到Azure。
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)发布于 2018-08-24 03:25:15
您的项目在什么位置运行?文件路径的字符已用完。
我建议尝试将解决方案移动到离C:/根更近的位置。
https://stackoverflow.com/questions/51989455
复制相似问题