Nop 4.0 - HTTP Error 502.5 - Process Failure

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi,

I can not start version 4.0 (3.9 - works fine)
What ideas?

___________________________________________________________________

HTTP Error 502.5 - Process Failure


Common causes of this issue:

The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port

Troubleshooting steps:

Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
___________________________________________________________________


Thanks :)
6 years ago
I had this same error come up when trying to run nopCommerce 4.0 through IIS.

After reading an article on https://stackify.com/how-to-deploy-asp-net-core-to-iis/, I reviewed my file layout versus a working nopCommerce 4.0 site, and realized I still needed to publish Nop.Web. Based on how I used to setup sites in 3.9, I published the site directly into the Nob.Web folder, and I was able to load up the site.

Hope this helps.
6 years ago
To run nop v4.0 with IIS there are two ways to do it:

1-Publish Nop.Web into the folder pointed by your IIS website (mentioned in prior post).

2-Point your website to your development Nop.Web folder and install "Enable development-time IIS support". More info here:
https://docs.microsoft.com/en-us/aspnet/core/publishing/development-time-iis-support
6 years ago
I came across the exact same error trying to compile and run the 4.0 source code version for the first time.

For me this error was caused because I had changed the "Platform target" of the nop.web build from the 4.0 default setting of "x86" to what I was used to using which was "Any Cpu". Changing this dropdown back to either x86 or x64 stopped this error from occurring for me and allowed me to run 4.0 without issue.

While the original post is about running 4.0 in iis, I thought I'd add this to the discussion for anyone searching for the error code as in both cases they are the same.
6 years ago
Hello guyes,

I faced same error that you guyes faced.

I solved with download .Net core windows server hosting bundle from this link https://docs.microsoft.com/en-us/aspnet/core/publishing/iis?tabs=aspnetcore2x#common-errors


Thank you,
Smiten Kalathiya
6 years ago
Also check and compare this line in the web.config file

    <aspNetCore requestTimeout="00:07:00" processPath=".\Nop.Web.exe" arguments="" forwardWindowsAuthToken="false" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />

If you copy web.config from the source version it will read like this

<aspNetCore requestTimeout="00:07:00" processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" forwardWindowsAuthToken="false"
                stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
6 years ago
i have publish my app ... it was working fine .... Same problem came across to me even my local system as well published site facing the same problem ...

i am working on my development environment but still not find solution...
6 years ago
khaleel wrote:
i have publish my app ... it was working fine .... Same problem came across to me even my local system as well published site facing the same problem ...

i am working on my development environment but still not find solution...
.


did you check log under Log folder of your root directory?

if not than,

set stdoutLogEnabled="true" under web config and see the error.

hope, it would be helpful.
6 years ago
yes i have change it to true...

it showing following error

HTTP Error 502.5 - Process Failure

Common causes of this issue:
The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port

Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect


it showing in my local development envoirment and also my live site is down due to same error ... even last 3 days back it was running fine ...
6 years ago
khaleel wrote:
yes i have change it to true...

it showing following error

HTTP Error 502.5 - Process Failure

Common causes of this issue:
The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port

Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect


it showing in my local development envoirment and also my live site is down due to same error ... even last 3 days back it was running fine ...


Are you running on local IIS ?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.