Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
xSQLServer resources can't compile in Azure Automation #310
I have narrowed it down to that resources can't compile because of too long file paths. This seem to have started in version 184.108.40.206.
@kwirkykat Do you know, or do you know someone that know, what the hard limits are for the paths?
I want to create at common tests for this, so would be good that the hard limit is known, so if it changes we can change the test. But I will start with he knowledge I have so far (se below.)
To solve issue PowerShell/SqlServerDsc#716 the relative path can't be longer than 120 characters, i.e 'Examples\Resources\xSQLServerAvailabilityGroupListener\5-AddAvailabilityGroupListenerUsingDHCWithDefaultServerSubnet.ps1' works. If I add back the 'P' in 'DHCP' so the file gets 121 characters long, the compilation fails.
Test configuration used:
Exception in AzureAutomation
This was referenced
Aug 17, 2017
I just tested and the same problem is still there. I'm looking for if this will be possible for them to resolve, and if so, what the hard limit will be.
Last status update when @kwirkykat reached out:
I am having the same issue here. I am using
I have also tried
I get the same error as OP every time. Using the 12GB memory example to attempt to compile it.