Deploying to Standalone Cluster: FileNotFoundException

In my previous post, I demonstrated how I overcame some remote connectivity challenges that were preventing me from accessing my Service Fabric Cluster via PowerShell from other machines on my local network. Since then I have been able to deploy to my Standalone cluster using Visual Studio tools.

Error event: SourceId=’System.Hosting’, Property=’CodePackageActivation:Code:EntryPoint’.

There was an error during CodePackage activation.The service host terminated with exit code:3762504530

The error I see in the Windows Event Viewer Application log is this:

Application: Person.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.IO.FileNotFoundException

at System.Signature.GetSignature(Void*, Int32, System.RuntimeFieldHandleInternal, System.IRuntimeMethodInfo, System.RuntimeType)

at System.Reflection.RuntimeMethodInfo.get_CallingConvention()

at Microsoft.ServiceFabric.Services.Remoting.Description.InterfaceDescription.EnsureValidMethods(System.String, System.Type, Microsoft.ServiceFabric.Services.Remoting.Description.MethodReturnCheck)

at Microsoft.ServiceFabric.Services.Remoting.Description.InterfaceDescription.GetMethodDescriptions(System.String, System.Type, Microsoft.ServiceFabric.Services.Remoting.Description.MethodReturnCheck)

at Microsoft.ServiceFabric.Actors.Runtime.ActorTypeInformation.Get(System.Type)

at Microsoft.ServiceFabric.Actors.Runtime.ActorRuntime+<RegisterActorAsync>d__3`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)

at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

at Person.Program.Main()

Dozens of them….

I’ll need to take some time to investigate this…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s