Question

Getting invalid descriptor error while downloading packages to filesystem

Hi all,

I have created a section and downloaded package to file system. I am getting below error

Image preview

When I checked in the folder descriptor file was not present. How can I resolve this issue? It is happening when I am creating a new section.

Thank You

Like 0

Like

2 comments

Dear Nagaraju,

 

These error says that some folder that relates to your application has is too long path. This restriction is caused by .net framework rather than by Creatio. Usually it relates to the temp folder path that contains the application logs. Here is the similar error example from application logs that point out at the folder causing it.

 

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.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)

   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)

   at Terrasoft.Common.CompressionUtilities.ReadFileContent(String targetFilePath, GZipStream zipStream)

   at Terrasoft.Common.CompressionUtilities.UnzipFile(String targetDirectoryPath, GZipStream zipStream)

   at Terrasoft.Common.CompressionUtilities.UnzipDirectory(String zipFilePath, Boolean deleteZipFileAfterUnzip)

   at Terrasoft.Core.Packages.PackageZipFileStorage.UnZipPackages()

   at Terrasoft.Core.Packages.PackageZipFileStorage.LoadInternal()

   at Terrasoft.Core.Packages.PackageStorage.Load()

   at Terrasoft.Core.AppInstallation.Packages.Operations.PackageZipOperations.Load()

   at Terrasoft.Core.AppInstallation.Packages.Backup.ZipPackageBackupManager.ComposePackages(String sourcePackagesPath, String tempFilesPath)

   at Terrasoft.Core.AppInstallation.Packages.Backup.ZipPackageBackupManager.CreateBackup(String sourcePackagesPath, String tempFilesPath, String backupPath, String code)

   at Terrasoft.WebApp.PackageInstaller.PackageInstallerServiceInternal.<>c__DisplayClass18_0.<CreateBackup>b__0()

   at Terrasoft.WebApp.PackageInstaller.BaseInstallerServiceInternal.InvokeWithLogging(Action action)

 

Try to put your application folder and temp folder higher in the folders hierarchy, so that their addresses would not exceed the characters limit set in .net framework.

 

Regards,

Dean

 

Dean Parrett,

Thank you Dean. I will try that.

Show all comments