Invalid file attribute failed

Hi!

We get this error in one of our projects. Can anyone help with solving this?

May 20th 2019 14:09:03 Info Purging the directory ‘\xxxx\xxxx’
May 20th 2019 14:10:07 Error System.ArgumentException: An attempt to set an invalid file attribute failed.
May 20th 2019 14:10:07 Error Parameter name: fileAttributes
May 20th 2019 14:10:07 Error at lphaleonis.Win32.Filesystem.File.SetAttributesCore(KernelTransaction transaction, Boolean isFolder, String path, FileAttributes fileAttributes, PathFormat pathFormat)
May 20th 2019 14:10:07 Error at Calamari.Integration.FileSystem.LongPathsFile.SetAttributes(String path, FileAttributes fileAttributes)
May 20th 2019 14:10:07 Error at Calamari.Integration.FileSystem.CalamariPhysicalFileSystem.DeleteFile(String path, FailureOptions options)
May 20th 2019 14:10:07 Error at Calamari.Integration.FileSystem.CalamariPhysicalFileSystem.PurgeDirectory(String targetDirectory, Predicate1 exclude, FailureOptions options, CancellationToken cancel, Boolean includeTarget) May 20th 2019 14:10:07 Error at Calamari.Integration.FileSystem.CalamariPhysicalFileSystem.PurgeDirectory(String targetDirectory, FailureOptions options, String[] globs) May 20th 2019 14:10:07 Error at Calamari.Deployment.Conventions.CopyPackageToCustomInstallationDirectoryConvention.Install(RunningDeployment deployment) May 20th 2019 14:10:07 Error at Calamari.Deployment.ConventionProcessor.RunInstallConventions() May 20th 2019 14:10:07 Error at Calamari.Deployment.ConventionProcessor.RunConventions() May 20th 2019 14:10:07 Error Running rollback conventions... May 20th 2019 14:10:07 Error An attempt to set an invalid file attribute failed. May 20th 2019 14:10:07 Error Parameter name: fileAttributes May 20th 2019 14:10:07 Error System.ArgumentException May 20th 2019 14:10:07 Error at Alphaleonis.Win32.Filesystem.File.SetAttributesCore(KernelTransaction transaction, Boolean isFolder, String path, FileAttributes fileAttributes, PathFormat pathFormat) May 20th 2019 14:10:07 Error at Calamari.Integration.FileSystem.LongPathsFile.SetAttributes(String path, FileAttributes fileAttributes) May 20th 2019 14:10:07 Error at Calamari.Integration.FileSystem.CalamariPhysicalFileSystem.DeleteFile(String path, FailureOptions options) May 20th 2019 14:10:07 Error at Calamari.Integration.FileSystem.CalamariPhysicalFileSystem.PurgeDirectory(String targetDirectory, Predicate1 exclude, FailureOptions options, CancellationToken cancel, Boolean includeTarget)
May 20th 2019 14:10:07 Error at Calamari.Integration.FileSystem.CalamariPhysicalFileSystem.PurgeDirectory(String targetDirectory, FailureOptions options, String[] globs)
May 20th 2019 14:10:07 Error at Calamari.Deployment.Conventions.CopyPackageToCustomInstallationDirectoryConvention.Install(RunningDeployment deployment)
May 20th 2019 14:10:07 Error at Calamari.Deployment.ConventionProcessor.RunInstallConventions()
May 20th 2019 14:10:07 Error at Calamari.Deployment.ConventionProcessor.RunConventions()
May 20th 2019 14:10:07 Error at Calamari.Commands.DeployPackageCommand.Execute(String[] commandLineArguments)
May 20th 2019 14:10:07 Error at Calamari.Program.Execute(String[] args)
May 20th 2019 14:10:07 Fatal The remote script failed with exit code 100
May 20th 2019 14:10:07 Fatal The action xxxxx on xxxxx failed

Thanks!
/Erik

Hi Eric,

Thanks for reaching out! Is there any chance you can send me the full deployment log so I can see the whole context of this task? Feel free to attacht it here or send it to support@Octopus.com with the URL of this thread in the body so we know its related to this conversation.

Thanks,
Dalmiro

Hi Dalmiro!

I sent the deployment log to ‘support@Octopus.com’ 20. May, but I have not got any reply yet. Do you have a status on this issue?

Thanks!

Regards
Erik

Hi Dalmiro!

I sent the deployment log to ‘support@Octopus.com’ 20. May, but I have not got any reply yet. Do you have a status on this issue?

Thanks!

Regards
Erik

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.