Dev
Dev

Reputation: 137

Service Fabrice Local Cluster Manager Node setup error

I am trying to run service fabric local cluster manager but it is giving following error : Failed to setup local cluster. I have Microsoft Azure service fabric SDK 3.2.187 installed locally.

Steps I followed is -

Install Visual studio 2017 - version - 4.7.03056. While installing I selected Azure development workload from VS installer.

After VS installation, I installed Service Fabric SDK from Web Platform Installer.

After this right click on Service fabric local cluster manager -> Setup local cluster -> 1 Node.

When I do this, I am getting There were errors while setting up the local cluster. Retrying..

Any help would be really appreciated.

Upvotes: 3

Views: 1012

Answers (2)

GTMer
GTMer

Reputation: 41

Delete Fabric*.dll under C:\Windows\System32 makes it work for me.

It seems new SF would not insert these binaries into System32 folder, while old version uninstall program would not delete them. So it cause version corruption in running new version.

Upvotes: 0

Luca
Luca

Reputation: 433

I had similar issues many times when I tried to install SF on local machine. Try the following steps:

First of all, check if you have IIS enabled on your PC from Windows Features. If it is disabled, enable IIS and related features.

If this not helped, do the following:

Uninstall:

  1. Remove the installed Service Fabric SDK, Runtime and VS tools
  2. Delete installation folder under C:\Program Files\Microsoft Service Fabric
  3. Delete folder from registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Service Fabric
  4. Reboot PC

Install:

If you already installed Microsoft Web PI, run the program and install the Microsoft Azure Service Fabric SDK again the following way:

  1. Check if IIS is selected from the configuration of installation
  2. Check if the prerequisite C++ package is installed during the process (Microsoft Visual C++ 2012 SP1 Redistributable Package (x64) ).

Then

  1. Install Service Fabric tools using the Visual Studio Installer
  2. Run the command Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser from a command line as admin

Hope this helps.

Upvotes: 1

Related Questions