Bobcares

HTTP Error 502.5 – Process Failure – Here is the perfect fix

by | Nov 19, 2019

Struggling with HTTP Error 502.5 – Process Failure error on your website?

ASP.NET platform helps to create and develop web applications effectively.

However, process failure error happens when the ASP.NET application fails to run on the server.

At Bobcares, we get requests on ASP.NET errors for our customers, as a part of our Server Management Services.

Today, let’s see how our Support Engineers fix the error for our customers.

 

Causes for HTTP Error 502.5 – Process Failure

In general, the 502.5 error occurs when the ASP.NET application is not running. However, from our expertise in managing server, our Windows Experts identify the common causes for the error as:

  • Incorrect deployment and architecture
  • Missing .NET framework installation in the server.
  • The application pool has no access to the .NET files.
  • Incorrect path in web.config

Further, we check the Event log to find more information regarding the error. The sample error looks like:

 

How to fix HTTP Error 502.5 – Process Failure

Recently one of our customers contacted as his website was showing HTTP Error 502.5 – Process Failure error. Let us discuss how our Support Engineers resolved the error.

 

1. Wrong Deployment mode and architecture

The common reason for the error is the incorrect architecture or the deployment mode. On analyzing the server we found that the 64-bit .NET core was installed.

On checking the .net files, the files were present in 32-bit architecture. So our Support Engineers resolved the error by changing the architecture to the correct version.

We opened the .NET exe file and changed the Deployment mode to Self-Contained.

Next, we changed the Target Runtime to win-x6. Finally, saved the changes.

Changing the deployment will change the runtime to the application directory. So we always analyze the whole system and the impact it will create before changing the option.

Thus changing the option resolved the error.

 

2.The .NET framework not installed

Another reason for the error is that the .NET framework is not installed on the server. A few application requires framework libraries to run the application. The .NET Core doesn’t support the desktop applications with a user interface.

Thus we install the .NET framework for our customers in the server to resolve the error.

 

3. Incorrect path in web.config

The web.config contains variables LAUNCHER_PATH and LAUNCHER_ARGS. When IIS tries to run the application, it uses these variables to connect.

So our Support Engineers add the below code on the web.config file to publish the contains from the output folder.

<aspNetCore processPath="dotnet" arguments=".\MyApplication.dll" stdoutLogEnabled="true"
stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" />

Adding the lines will replace the variables with the exact path.

[Looking for fixing ASP.net errors? Come to us, we’ll help you.]

 

Conclusion

In short, we have discussed the causes for the error HTTP Error 502.5 – Process Failure. Also, we have discussed how our Support Engineers resolve the error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

2 Comments

  1. Mrunali Kambli

    Hi ! I am getting this same error when deployed on server

    This is my .csproj code

    net471
    true

    true

    $(NoWarn);1591

    and the version on server are
    .NET SDKs installed:  No SDKs were found.

    .NET runtimes installed:  
    Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]  
    Microsoft.AspNetCore.All 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]  
    Microsoft.AspNetCore.All 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]  
    Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]  
    Microsoft.AspNetCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]  
    Microsoft.AspNetCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]  
    Microsoft.AspNetCore.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]  
    Microsoft.AspNetCore.App 3.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]  
    Microsoft.AspNetCore.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]  
    Microsoft.AspNetCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]  
    Microsoft.NETCore.App 2.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  
    Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  
    Microsoft.NETCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  
    Microsoft.NETCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  
    Microsoft.NETCore.App 3.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  
    Microsoft.NETCore.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  
    Microsoft.NETCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

    Reply
    • Hiba Razak

      Hello Mrunali,
      Our Experts can help you with the issue, we’ll be happy to talk to you on chat(click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF