Cannot setup Service Fabric Local Cluster manager

Mehul 0 Reputation points Microsoft Employee
2023-01-31T04:31:36.66+00:00

I am trying to install and run Service Fabric Local Cluster Manager. When I try to "Setup Local Cluster", I get the following error:

>> TerminatingError(): "Exception calling "SetAccessRule" with "1" argument(s): "This access control list is not in canonical form and therefore cannot be modified.""

This access control list is not in canonical form and therefore cannot be modified.

Detailed error log:

**********************

Windows PowerShell transcript start

Start time: 20230130230050

Username:

RunAs User:

Configuration Name:

Machine:

Host Application: PowerShell.exe -WindowStyle Hidden -NonInteractive -ExecutionPolicy RemoteSigned -Command & 'C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup\DevClusterSetup.ps1' -Auto -PathToClusterLogRoot C:\SFDevCluster\Log -SetupLogFileName DevClusterSetup.log -CreateOneNodeCluster

Process ID: 7912

PSVersion: 5.1.22621.963

PSEdition: Desktop

PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.22621.963

BuildVersion: 10.0.22621.963

CLRVersion: 4.0.30319.42000

WSManStackVersion: 3.0

PSRemotingProtocolVersion: 2.3

SerializationVersion: 1.1.0.1

**********************

Transcript started, output file is C:\SFDevCluster\Log\DevClusterSetup.log

PS>TerminatingError(): "Exception calling "SetAccessRule" with "1" argument(s): "This access control list is not in canonical form and therefore cannot be modified.""

>> TerminatingError(): "Exception calling "SetAccessRule" with "1" argument(s): "This access control list is not in canonical form and therefore cannot be modified.""

>> TerminatingError(): "Exception calling "SetAccessRule" with "1" argument(s): "This access control list is not in canonical form and therefore cannot be modified.""

This access control list is not in canonical form and therefore cannot be modified.

**********************

Windows PowerShell transcript end

End time: 20230130230052

Service Fabric version: 9.1.1436.9590

Service Fabric SDK version: 6.1.1436.9590

Can someone help me in resolving this? I have tried uninstalling (with deleting the registry) and installing it. The issue still persists.

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
249 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 20,856 Reputation points
    2023-02-07T14:51:54.69+00:00

    Hello @Mehul ,

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    This error message suggests that the access control list (ACL) for the folder specified in the "PathToClusterLogRoot" parameter is not in a canonical form and cannot be modified.

    One possible solution is to try running the script again with a different folder specified for the "PathToClusterLogRoot" parameter.

    Another solution is to check the permissions on the folder specified in the "PathToClusterLogRoot" parameter and ensure that the account running the script has the necessary permissions to modify the ACL.

    You can also try running the script as an administrator to ensure that you have the necessary permissions to modify the ACL.

    Please let me know in your comments if you would like to discuss this further or got any other questions

    Please accept as answer and upvote if the above information is helpful for the benefit of the community..