I want to get started with Azure Service Fabric technology.
I work in accordance with this document and install the latest version of the SDK. After installation, I opened the PowerShell command prompt windows ("Run as administrator") and wrote these lines:
# Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser # cd "$env:ProgramW6432\Microsoft SDKs\Service Fabric\ClusterSetup" # .\DevClusterSetup.ps1
As an answer, this error was received:
Cleaning existing cluster ... NOTE: If this powershell command window exits, please re-run the script in a new powershell command window. Stopping service FabricHostSvc. This may take a few minutes... Removing cluster configuration Remove node configuration succeeded Cleaning existing certificates Stopping all logman sessions Cleaning log and data folder, the powershell window may close automatically. ClusterPath not provided, will use C:\SfDevCluster FabricDataRoot not provided, will use C:\SfDevCluster\Data FabricLogRoot not provided, will use C:\SfDevCluster\Log Directory: C:\ Mode LastWriteTime Length Name
The bottom line is " Failed to start the service ." This output is printed on the screen after 3 minutes of waiting.
Things I've already tried:
- Restart your computer several times (I read somewhere that this solves the problem).
- Disable my antivirus software.
Attached screenshot of the PowerShell command line.
I use:
- Visual Studio 2015 Enterprise Edition
- Windows 8.1
- Azure Service Fabric SDK v1.0.328
source share