I want to export my site to import to another place. But in the export progress. This error always occured.
ERROR: Error compressing package
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.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
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, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at System.IO.File.ReadAllText(String path)
at CMS.AzureStorage.BlobInfoProvider.GetBlobContent(BlobInfo blobInfo, BlobRequestOptions requestOptions)
at CMS.AzureStorage.BlobInfoProvider.GetBlobContentWithOptions(BlobInfo blobInfo)
at CMS.AzureStorage.FileStream.InitFileStream()
at CMS.AzureStorage.FileStream..ctor(String path, FileMode mode, FileAccess access, IDateTimeNowService dateTimeNowService)
at CMS.AzureStorage.File.OpenRead(String path)
at CMS.CMSImportExport.ExportProvider.CompressEntry(ZipArchive zipArchive, String entryPath, String tmpPath)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipArchive zipArchive, String path, String tmpPath)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipArchive zipArchive, String path, String tmpPath)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipArchive zipArchive, String path, String tmpPath)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipArchive zipArchive, String path, String tmpPath)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipArchive zipArchive, String path, String tmpPath)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipArchive zipArchive, String path, String tmpPath)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipArchive zipArchive, String path, String tmpPath)
at CMS.CMSImportExport.ExportProvider.CompressFolder(SiteExportSettings settings, ZipArchive zipArchive, String path, String tmpPath)
at CMS.CMSImportExport.ExportProvider.CreateZipPackage(SiteExportSettings settings)
How can i fix it?