Nop 4.0 - HTTP Error 502.5 - Process Failure

1 2 >
Posted: November 14, 2017 at 6:13 AM Quote #196148
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 :)
This post/answer is useful
3
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 05, 2017 at 6:03 PM Quote #197287
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.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
www.foremostmedia.com
Posted: December 08, 2017 at 7:05 AM Quote #197487
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
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 08, 2018 at 4:41 PM Quote #198910
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.
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 08, 2018 at 11:33 PM Quote #198920
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
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Please up-vote the answer, if it helpful to you! :)

Cheers,
sk5202
Posted: January 26, 2018 at 5:30 AM Quote #199810
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" />
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Providing plugins and free nopCommerce themes
www.nopcommercetemplate.com
Posted: February 07, 2018 at 2:31 AM Quote #200317
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...
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: February 07, 2018 at 3:07 AM Quote #200321
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.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Please up-vote the answer, if it helpful to you! :)

Cheers,
sk5202
Posted: February 07, 2018 at 9:29 AM Quote #200343
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 ...
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: February 07, 2018 at 10:17 AM Quote #200345
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 post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
1 2 >
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2018
Learn more