生产服务器上的Azure Service Fabric缺少DLL:FabricCommon.dll

亨里克

我创建了一个actor服务,该服务在开发集群上运行。一个ASP.NET应用程序(通过IIS单独托管)连接到群集并使用参与者。这很好。

但是,当我将所有内容部署到生产环境时,ASP.NET应用程序将无法连接到群集,但以下情况除外。群集托管在本地(Windows 2012 R2)中。

The type initializer for 'Microsoft.ServiceFabric.Services.ServiceTrace' threw an exception.

Stacktrace:
   at Microsoft.ServiceFabric.Services.Common.FabricServiceConfig.TryGetConfigPackageObject(String configPackageName, ConfigurationPackage& package)
   at Microsoft.ServiceFabric.Services.Common.FabricServiceConfig.GetSettingsFilePath(String configPackageName)
   at Microsoft.ServiceFabric.Services.Common.FabricServiceConfig.GetConfig()
   at Microsoft.ServiceFabric.Services.Common.FabricServiceConfigSection.Initialize()
   at Microsoft.ServiceFabric.Services.Communication.FabricTransport.Common.FabricTransportSettings.LoadFrom(String sectionName, String filepath, String configPackageName)
   at Microsoft.ServiceFabric.Services.Communication.FabricTransport.Common.FabricTransportSettings.TryLoadFrom(String sectionName, FabricTransportSettings& settings, String filepath, String configPackageName)
   at Microsoft.ServiceFabric.Services.Communication.FabricTransport.Common.FabricTransportSettings.GetDefault(String sectionName)
   at Microsoft.ServiceFabric.Actors.Remoting.FabricTransport.FabricTransportActorRemotingProviderAttribute.CreateServiceRemotingClientFactory(IServiceRemotingCallbackClient callbackClient)
   at Microsoft.ServiceFabric.Actors.Client.ActorProxyFactory.CreateServiceRemotingClientFactory(Type actorInterfaceType)
   at Microsoft.ServiceFabric.Actors.Client.ActorProxyFactory.GetOrCreateServiceRemotingClientFactory(Type actorInterfaceType)
   at Microsoft.ServiceFabric.Actors.Client.ActorProxyFactory.CreateActorProxy[TActorInterface](Uri serviceUri, ActorId actorId, String listenerName)
   at Microsoft.ServiceFabric.Actors.Client.ActorProxy.Create[TActorInterface](ActorId actorId, Uri serviceUri, String listenerName)

Inner Exception:
innerExceptionType: System.DllNotFoundException
innerStacktrace:
   at System.Fabric.Interop.NativeCommon.FabricGetConfigStore(Guid& riid, IFabricConfigStoreUpdateHandler updateHandler)
   at System.Fabric.Common.NativeConfigStore.CreateHelper(IFabricConfigStoreUpdateHandler updateHandler)
   at System.Fabric.Interop.Utility.WrapNativeSyncInvoke[TResult](Func`1 func, String functionTag, String functionArgs)
   at System.Fabric.Interop.Utility.RunInMTA[TResult](Func`1 func)
   at Microsoft.ServiceFabric.Common.Tracing.Trace.InitializeFromConfigStore()
   at Microsoft.ServiceFabric.Services.ServiceTrace..cctor()
innerExceptionMessage: Unable to load DLL 'FabricCommon.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
exceptionType: System.TypeInitializationException

似乎在Web服务器(托管ASP.NET)上找不到FabricCommon.dll

我发现此文件是群集安装程序包的一部分。在开发计算机和集群计算机上,文件位于:C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\FabricCommon.dll但这显然不是通过客户端应用程序中的NuGet安装的依赖项。

我是否错过了在Web服务器上安装任何必备软件的机会?我是否必须手动包含DLL?

埃拉斯特·彼得罗维奇

我认为您需要在Web服务器上安装Service Fabric SDK。

请参阅下面的链接:https : //azure.microsoft.com/en-us/documentation/articles/service-fabric-get-started/

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

生产服务器上的Azure Service Fabric缺少DLL:FabricCommon.dll

来自分类Dev

Azure应用服务上的Service Fabric客户端。无法加载DLL'FabricCommon.dll'

来自分类Dev

如何在Service Fabric上导入本机DLL?

来自分类Dev

在生产Azure Service Fabric群集中找不到libsodium-64.dll

来自分类Dev

在生产Azure Service Fabric群集中找不到libsodium-64.dll

来自分类Dev

为什么WinHttpHandler导致生产服务器上“无法加载DLL'api-ms-win-core-localization-l1-2-0.dll'”?

来自分类Dev

更新Windows Service dll

来自分类Dev

使用Service Fabric模板时错误的dll文件异常

来自分类Dev

SharpShell服务器.dll未签名

来自分类Dev

SharpShell服务器.dll未签名

来自分类Dev

从 DLL 运行 SignalR 服务器

来自分类Dev

C ++ dll上的COM dll

来自分类Dev

缺少服务器JVM(Java \ jre7 \ bin \ server \ jvm.dll。)

来自分类Dev

在IIS服务器上重命名dll后不匹配程序集定义错误

来自分类Dev

如何从服务器GAC删除.NET程序集DLL

来自分类Dev

如何允许WAMP服务器中的DLL文件上传

来自分类Dev

hMailServer-服务器脚本-触发外部DLL功能?

来自分类Dev

缺少ServiceStack的DLL

来自分类Dev

缺少许多dll

来自分类Dev

Windows上的Conda Python环境缺少DLL文件

来自分类Dev

Wind 8.1上缺少TIdHTTP的MSVCR110.dll

来自分类Dev

Windows 8.1上缺少MSVCR71.dll错误

来自分类Dev

Windows IIS(8.5.96)服务器上的WordPress多站点崩溃-PHP 5.6 wincache.dll 1.3.7.0

来自分类Dev

在构建服务器上为两个平台 (x86+x64) 构建 C++ dll

来自分类Dev

复制部署在Azure Service Fabric群集上的服务

来自分类Dev

在 Azure Service Fabric 上创建 UDP 侦听服务

来自分类Dev

Web Service C#中DLL的调用函数动态

来自分类Dev

缺少ServiceStack.ServiceInterface dll

来自分类Dev

依赖行者中缺少Dll

Related 相关文章

  1. 1

    生产服务器上的Azure Service Fabric缺少DLL:FabricCommon.dll

  2. 2

    Azure应用服务上的Service Fabric客户端。无法加载DLL'FabricCommon.dll'

  3. 3

    如何在Service Fabric上导入本机DLL?

  4. 4

    在生产Azure Service Fabric群集中找不到libsodium-64.dll

  5. 5

    在生产Azure Service Fabric群集中找不到libsodium-64.dll

  6. 6

    为什么WinHttpHandler导致生产服务器上“无法加载DLL'api-ms-win-core-localization-l1-2-0.dll'”?

  7. 7

    更新Windows Service dll

  8. 8

    使用Service Fabric模板时错误的dll文件异常

  9. 9

    SharpShell服务器.dll未签名

  10. 10

    SharpShell服务器.dll未签名

  11. 11

    从 DLL 运行 SignalR 服务器

  12. 12

    C ++ dll上的COM dll

  13. 13

    缺少服务器JVM(Java \ jre7 \ bin \ server \ jvm.dll。)

  14. 14

    在IIS服务器上重命名dll后不匹配程序集定义错误

  15. 15

    如何从服务器GAC删除.NET程序集DLL

  16. 16

    如何允许WAMP服务器中的DLL文件上传

  17. 17

    hMailServer-服务器脚本-触发外部DLL功能?

  18. 18

    缺少ServiceStack的DLL

  19. 19

    缺少许多dll

  20. 20

    Windows上的Conda Python环境缺少DLL文件

  21. 21

    Wind 8.1上缺少TIdHTTP的MSVCR110.dll

  22. 22

    Windows 8.1上缺少MSVCR71.dll错误

  23. 23

    Windows IIS(8.5.96)服务器上的WordPress多站点崩溃-PHP 5.6 wincache.dll 1.3.7.0

  24. 24

    在构建服务器上为两个平台 (x86+x64) 构建 C++ dll

  25. 25

    复制部署在Azure Service Fabric群集上的服务

  26. 26

    在 Azure Service Fabric 上创建 UDP 侦听服务

  27. 27

    Web Service C#中DLL的调用函数动态

  28. 28

    缺少ServiceStack.ServiceInterface dll

  29. 29

    依赖行者中缺少Dll

热门标签

归档