Service fabric local cluster error

北战南征 提交于 2019-12-13 03:27:12

问题


I m getting the following error on my local service fabric cluster node:

Error event: SourceId='System.Hosting', Property='Activation:1.0'. There was an error during activation.Failed to setup ApplicationPrincipals. Error:ApplicationPrincipalAbortableError

There is no much logs other than that, I m running VS2017 on Windows 10 with

service fabric tools version: 3.0.480.9494

service fabric runtime version: 6.1.480.9494

I executed the following for service fabric powershell scripts:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser

Everything is run as adminstrator. There is no errors in VS app creation and deployement output on my local cluster... I couldn't find much help on google..

I d be gratefull for some help.

Regards, Lokman.


回答1:


It appears it is often related to privilege issues, or after checking my ApplicationManifest.xml, tried changing the Users section:

 <Users>
      <User Name="xxxx">
        <MemberOf>
          <SystemGroup Name="Administrators" />
        </MemberOf>
      </User>
    </Users>

My windows was in french so Administrators was spelled wrongly (Administrateurs in french).



来源:https://stackoverflow.com/questions/49772053/service-fabric-local-cluster-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!