microsoft / service-fabric-aspnetcore

This repo contains ASP.NET Core integration for Service Fabric Reliable Services.
Other
152 stars 49 forks source link

Unable to deploy aspnetcore stateful service #40

Closed mgrishkov closed 6 years ago

mgrishkov commented 6 years ago

Dear team, what happens with statefull services - I cannot deploy none of them. I've created sample projects for aspnetcore1.0, aspnetcore1.1 and aspnetcore 2.0 and none of them cannot be deployed seccessfully. At the same time stateless service works fine.

I've just created sample application from template "Stateful ASP.Net Core" with web api service targeted to aspnetcore1.1, update servicefabric packages to the latest versions an try to debug the service. Exceptions: Exception thrown: 'System.Runtime.InteropServices.COMException' in Microsoft.ServiceFabric.Data.Impl.dll Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll Exception thrown: 'System.Runtime.InteropServices.COMException' in Microsoft.ServiceFabric.Data.Impl.dll Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll

Repository with sample you can find here. Here you can find Build, Debug and Service Fabric Tools logs.

I found issue #36 and it seems to be fixed, but I don't understand how to solve my issue. Does it connected somehow with my issue in the service-fabric thread?

P.S. I've also tried to deploy standard net462 stateful service and connect to it via remoting, but I get the same COM exception.

Sistem information:

Win10.
ServiceFabric local cluster: 6.0.232.9494
ServiceFabric SDK: 2.8.232.9494
amanbha commented 6 years ago

Is this with services built for netcore only or with full .net as well.This issue doesn't seem to be specific to aspnetcore, it could be related to your other issue https://github.com/Azure/service-fabric-issues/issues/627 @raunakpandya @hrushib

hrushib commented 6 years ago

Duplicate of Azure/service-fabric-issues#639.