Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

D365 On-premises Service Fabric - Creation fails

(0) ShareShare
ReportReport
Posted on by 240

Hello All,

I'm installing an on-premises 

The TestConfiguration.ps1 script passes:

PS C:\Users\xxx\SFC> .\TestConfiguration.ps1 -ClusterConfigfilePath .\clusterconfig.json
Trace folder already exists. Traces will be written to existing trace folder: C:\Users\rootadmin\Downloads\SFC\DeploymentTraces
Running Best Practices Analyzer...
Opening TraceWriter SFDeployer, path C:\Users\rxxx\SFC\DeploymentTraces\SFDeployer-638072985728136791.trace
Diagnostics Store is not a file share. Please consider using a file share accessible from all cluster machines, collecting logs in a local folder is inconvenient.
Best Practices Analyzer completed successfully.
Closing TraceWriter SFDeployer, path C:\Users\xxx\SFC\DeploymentTraces\SFDeployer-638072985728136791.trace


LocalAdminPrivilege : True
IsJsonValid : True
IsCabValid :
RequiredPortsOpen : True
RemoteRegistryAvailable : True
FirewallAvailable : True
RpcCheckPassed : True
NoDomainController : True
NoConflictingInstallations : True
FabricInstallable : True
DataDrivesAvailable : True
DrivesEnoughAvailableSpace : True
Passed : True

While running CreateServiceFabricCluster.ps1 script, the creation of the cluster fails with error "Illegal characters in path"

PS C:\Users\xxx\SFC> .\CreateServiceFabricCluster.ps1 -ClusterConfigFilePath .\ClusterConfig.json
Do you accept the license terms for using Microsoft Azure Service Fabric located in the root of your package download? I
f you do not accept the license terms you may not use the software.
[Y] Yes [N] No [?] Help (default is "N"): y
No directory exists for Runtime packages. Creating a new directory.
Done creating C:\Users\rootadmin\Downloads\SFC\DeploymentRuntimePackages
Trace folder already exists. Traces will be written to existing trace folder: C:\Users\rootadmin\Downloads\SFC\DeploymentTraces
Runtime package version 9.1.1390.9590 was not found in DeploymentRuntimePackages folder and needed to be downloaded.
Runtime package has been successfully downloaded to C:\Users\xxx\SFC\DeploymentRuntimePackages\Microsoft
AzureServiceFabric.9.1.1390.9590.cab.
Creating Service Fabric Cluster...
If it's taking too long, please check in Task Manager details and see if Fabric.exe for each node is running. If not, pl
ease look at: 1. traces in DeploymentTraces directory and 2. traces in FabricLogRoot configured in ClusterConfig.json.
Trace folder already exists. Traces will be written to existing trace folder: C:\Users\rootadmin\Downloads\SFC\DeploymentTraces
Running Best Practices Analyzer...
Opening TraceWriter SFDeployer, path C:\Users\rootadmin\Downloads\SFC\DeploymentTraces\SFDeployer-638072965842816448.trace
Diagnostics Store is not a file share. Please consider using a file share accessible from all cluster machines, collecting logs in a local folder is inconvenient.
Best Practices Analyzer completed successfully.
Creating Service Fabric Cluster...
Processing and validating cluster config.
Closing TraceWriter SFDeployer, path C:\Users\xxx\SFC\DeploymentTraces\SFDeployer-638072965842816448.trace
Create Cluster failed. For more information please look at traces in FabricLogRoot.
Illegal characters in path.
Create Cluster failed. Call with -Verbose for more details

Can anyone point up the source of this error? Where should I check for "Illegal characters in path"?

Thanks in advance for your help.

regards

Mandeep

  • Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    RE: D365 On-premises Service Fabric - Creation fails

    Hi Mandeep.SJS,

    Congratulations on solving the problem, and thank you so much for your selfless sharing.

  • Suggested answer
    Mandeep.S Profile Picture
    Mandeep.S 240 on at
    RE: D365 On-premises Service Fabric - Creation fails

    I was able to resolve this.

    On close inspection I realised that I had used a 'Special character - |' while defining the ConfigTemplate.xml like this:

    <ServiceFabricCluster>

         <ClusterName>Dynamics365Operations | Test 7 Node Cluster</ClusterName>

         .

         .

         .

    </ServiceFabricCluster>

    This was the 'illegal' character. Once I removed it, the ServiceFabricCluster creation went on without a hitch.

    Thanks

    Mandeep

  • Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    RE: D365 On-premises Service Fabric - Creation fails

    Hi Mandeep.SJS,

    I think the key is this sentence:

    "Create Cluster failed. For more information please look at traces in FabricLogRoot."

    https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/perf-test/trace-trace-tutorial

    Anyway, I think the problem is in the address of the json file, so the parameters of the json file cannot be obtained

    Hope this will help you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,187 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,966 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans