locked
Unable to Run ServiceFabric RRS feed

  • Question

  • Hi Guys - 

    I am unable to run service fabric.

    I followed the steps here https://azure.microsoft.com/en-us/documentation/articles/service-fabric-get-started/

    initially i started by doing

    Install the Service Fabric runtime, SDK, and tools for Visual Studio 2015 Update 2 or newer

    that didn't work, so i manually uninstalled everything, rebooted and tried

    and i still have the same issue.

    Connect-ServiceFabricCluster : Unable to load DLL 'FabricClient.dll': The specified module could not be found.
    (Exception from HRESULT: 0x8007007E)
    At line:1 char:1
    + Connect-ServiceFabricCluster -ConnectionEndpoint "localhost:19000"
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Connect-ServiceFabricCluster], DllNotFoundException
        + FullyQualifiedErrorId : CreateClusterConnectionErrorId,Microsoft.ServiceFabric.Powershell.ConnectCluster

    to be sure it wasn't a firewall issue, i turned it off. the dll is on the machine in 5 places

    C:\SfDevCluster\Data\_Node_0\Fabric\Fabric.Code

    C:\SfDevCluster\Data\_Node_1\Fabric\Fabric.Code

    C:\SfDevCluster\Data\_Node_2\Fabric\Fabric.Code

    C:\SfDevCluster\Data\_Node_3\Fabric\Fabric.Code

    C:\SfDevCluster\Data\_Node_4\Fabric\Fabric.Code

    Thursday, August 25, 2016 4:06 AM

Answers

  • If you install the SDK for VS2015 and then try to do a publish to the local cluster from VS it should handle the creation of the cluster during the first publish.

    When selecting the publish profile don't wait for the green tick just select local and then hit publish. It will take awhile the first time but you should be able to see the progress in the output window.

    Local Cluster setup

    Thursday, August 25, 2016 2:42 PM
  • I believe I ran into this issue before and I traced it down to using the wrong version (32bit versus 64bit) of Powershell (you need to run the 64bit version)

    Gary A. Bushey

    Sunday, September 4, 2016 10:06 PM

All replies

  • If you install the SDK for VS2015 and then try to do a publish to the local cluster from VS it should handle the creation of the cluster during the first publish.

    When selecting the publish profile don't wait for the green tick just select local and then hit publish. It will take awhile the first time but you should be able to see the progress in the output window.

    Local Cluster setup

    Thursday, August 25, 2016 2:42 PM
  • I believe I ran into this issue before and I traced it down to using the wrong version (32bit versus 64bit) of Powershell (you need to run the 64bit version)

    Gary A. Bushey

    Sunday, September 4, 2016 10:06 PM