HTTP Error 502.5 - Process Failure. NopCommerce 4.10

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

VPS, Windows Server 2016.
On a local hosting project starts.
_____________________________________

An error occurred while starting in the external environment.

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



Check the system event log for error messages:

Application 'MACHINE/WEBROOT/APPHOST/MYSITECORE' with physical root 'C:\inetpub\wwwroot\MysiteCore\Presentation\Nop.Web\' failed to start process with commandline '%LAUNCHER_PATH% %LAUNCHER_ARGS%', ErrorCode = '0x80070002 : 0.

How to fix it?

Thanks.
5 years ago
I am not sure but try this to see whether it works

Supported web servers:
•Internet Information Service (IIS) 7.0 or above
•For nopCommerce 4.10 or above. Install .NET Core 2.1 runtime (download).
•For nopCommerce 4.00. Install .NET Core Window Server hosting runtime (download)

It is minimum requirement
5 years ago
Hi,

Go to IIS on your server and set your website APP Pool Identity to ApplicationPoolIdentity. Restart your IIS server and it would work.

Thank you,
Atul
5 years ago
Thanks

without source code is started.
with the source code does not start...
5 years ago
For source code you need visual studio and .net core sdk
5 years ago
nopAdvance wrote:
For source code you need visual studio and .net core sdk


I have it all.
The latest version (visual studio and .net core sdk).
5 years ago
I have the same problem. I have a couple of NC4.0 sites working fine on IIS.
Same App Pool Identity. Is this a DotNet Core 2.1 problem?
Will installation instructions be uploaded for this latest version any time soon?


Spent hours on this, no joy.
5 years ago
beefydog wrote:
I have the same problem. I have a couple of NC4.0 sites working fine on IIS.
Same App Pool Identity. Is this a DotNet Core 2.1 problem?
Will installation instructions be uploaded for this latest version any time soon?


Spent hours on this, no joy.


Hi,
I solved the problem :)
It is necessary, before launching in IIS, to make a visual studio publish the folder Nop.Web (right mouse button)
5 years ago
Hi, I have the same problem 502.5 error. I am coming from 10 years of NopCommerce .. last version installed in production is Nop 3.9.
Now I spent more and more hours to install Nop 4.10, I am very sad.

If I try to use the Windows installer I receive an error during SQL Server EXPRESS 'sa' authentication (during installation). SQL EXpress 2014 is already installed due to Nop 3.9 database

If I try to configure on IIS the web site (no source version) I had HTTP Error 502.5 - Process Failure

I don't see any error on IIS log file.

I am very sad.. please help me

Thanks in advance

Massimo
4 years ago
Had the same issue when trying to run in debug. Added the following to Nop.Web.csproj.
I was mainly trying to debug/test with multiple sites, testnop1, testnop2.
Needed to start debugging with localhost, "provisioning iis" message came, localhost started. After that testnop1 and testnop2 also worked.

<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.0" PrivateAssets="All" />

Source info:
https://github.com/aspnet/IISIntegration/issues/945#issuecomment-419716180
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.