Service Fabric .NET Framework issue – 2148734720

‘System.Hosting’ reported Error for property ‘CodePackageActivation:Code:EntryPoint:132865468781464300’.There was an error during CodePackage activation.The process/container terminated with exit code:2148734720. Please look at your application logs/dump or debug your code package for more details. For information about common termination errors.

To identify the issue: we have to check the EventLogs of the VM Instances.

Home => Subscriptions => DevOps_PROD (Your Subscription) => vmss-svcs-prod-proj-backend2 (Your VMSS) => vmss-svcs-prod-proj-backend2_0 (Your VM Instance)

Go to logs/AppInsights => Map => Select Vmss Insances => Log Events (below Screenshot)

Select the Event in Event Type. (you will redirect to the Query Explorer as shown in the below screenshot)

.NET Runtime version : 4.0.30319.0 - This application could not be started.
This application requires one of the following versions of the .NET Framework: .NETFramework,Version=v4.8
Do you want to install this .NET Framework version now?

Refer: How to install the .NET framework on all the vm instances.

One comment

Leave a comment