Service Fabrice Local Cluster Manager Node setup error - azure

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.

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:
Remove the installed Service Fabric SDK, Runtime and VS tools
Delete installation folder under C:\Program Files\Microsoft Service Fabric
Delete folder from registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Service Fabric
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:
Check if IIS is selected from the configuration of installation
Check if the prerequisite C++ package is installed during the process (Microsoft Visual C++ 2012 SP1 Redistributable Package (x64) ).
Then
Install Service Fabric tools using the Visual Studio Installer
Run the command Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser from a command line as admin
Hope this helps.

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.

Related

Unable to configure Microsoft Identity Platform while publishing .Net Core 3.1.4 project + VS 2022 + Azure

I have a .net core 3.1 project. The project has a dependency on Microsoft Identity Platform and SQL Server.
While publishing the project to Azure. I am not able to configure the Microsoft Identity Platform. It gives below Error window.
I am able to configure SQL Server dependency but not sure why it is not able to configure Identity Platform.
I am using
.Net core 3.1.4
Visual Studio Community Edition 2022
Asp.net core Identity Entity Framework 3.1.4
Any idea?
Because you didn't install the dotnet-msidentity tool.
You can try to open the cmd black window and execute this command following this document.
dotnet tool install Microsoft.dotnet-msidentity -g --version "1.0.0-preview.1.21212.1"
This command will solve your issue. But then you will meet another issue like screenshot below if your account has multiple tenant.
Someone met this issue too and raised a ticket to ms.
You may search for known issues here if you meet some other weird questions when using vs2022.
dotnet tool uninstall --global Microsoft.dotnet-msidentity
dotnet tool install Microsoft.dotnet-msidentity -g --version "1.0.2"
worked for me
if you have nuget problems make sure you habe a nuget.config in the directory you are running the command
Make sure nuGet is set as the first or default package source in Visual Studios.
Right click on the project, click on manage nuGet packages and click on the gear next to Package Source.
Verify that nuget.org is setup as the first package source.

Not able to install Service fabric SDK 4.1.409 to Windows 10 laptop

While installing Service fabric SDK 4.1.409 to my laptop through Web platform installer 5.1. it is throwing below error.
6/3/2020 5:12:45 AM,Info,6/3/2020 10:42:45 AM Running Process: C:\WINDOWS\TEMP\MicrosoftServiceFabricAutoextractor.exe /L "C:\Program Files\Microsoft Service Fabric" /E /Y with timeout 01:00:00
6/3/2020 5:12:48 AM,Error,Unable to extract exe. ExitCode: -1073741502
I have followed microsoft installation step from this link but no luck.
This issues might be with my company policy imposed to system or registry corrupt .
solution: I resolved this by below step.
1.Resetting windows.
2.Service fabric sdk installation
3.Visual studio 2017/19 installation.

Azure Hybrid Connection Error: Assembly Microsoft.Web.Administration Version 7.0.0.0 be installed in the Global Assembly Cache first

I am getting this error every time I try to install the on premises hybrid connection manager needed to run Hybrid Connections:
I'm running the Download and Install client from Windows Server 2012 R2 from IE 11 off the Azure website. I figured maybe installing Visual Studio 2013 may also resolve this error but no luck.
You can install the package in your local machine by using following command command prompt.
gacutil /i {Path(location where your package is present) assemblyname)

VS 2012 missing prerequisite error

I am using visual studio 2012. I have already installed the Windows Azure SDK on my system. I am still getting the following error:
The system is missing a prerequisite to execute the service
.IISExpress Development certificate is not installed.
Can you check does your system met all the requirements of installing Azure SDK
If your system meets all the requirements, then try to install the missing components from Web Platform Installer of Azure

Installing Windows Azure SDK for .NET 2.2 VS2012 failed

I have VS2012 Ultimate Update 4 installed. I need to installed Windows Azure SDK for .NET 2.2. I install it from Web Platform Installer. When i try to create project using window azure cloud service project template. I get the error
"Creating projects requires Windows Azure Tools v2.2 to be installed"
I tried to install by standalone installer, but no success. Any Help for diagnose the problem?

Resources