Error 500.19 - Internal Server Error - NopCommerce 4.0

2 years ago
I read many topic but I haven't found a solution.

Instal 4.0 web edition without source.

I have this error
HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.
IIS Web Core


Not yet determined

Error Code

Config Error

Config File

I have set IIS_IUSRS permission on folder D:\Nop40Std\
Microsoft .NET Core SDK - 2.0.2 - Installed
Url rewrite installed

Microsoft Windows Server - Version 6.1 Build 7601: Service Pack 1

Internet Information Services - Version 7.5.7600.16385

Application pool:
.NET Framework v4.0.30319

Enable 32-Bit Application False/True -> same error

Any advice?
thanks for help
2 years ago
I reported same here

Please help ASAP
2 years ago
I installed Windows Hosting Runtime as mentioned here

But now it is giving me a new error.. Please see

2 years ago
Enable stdout logging in your web.config gile by changing stdoutLogEnabled to true

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

I also had to change the stdoutLogFile parameter (see above) to get it to work. After this you can find the errors logged into the Logs folder
2 years ago
Thanks for reply.

I have done this changes but I don't find a any log.

It's look like the iss not read web.config

a question:

I have to change this parameters ?

2 years ago

Install the .NET Core Windows Server Hosting bundle

    Install the .NET Core Windows Server Hosting bundle on the hosting system. The bundle installs the .NET Core Runtime, .NET Core Library, and the ASP.NET Core Module. The module creates the reverse-proxy between IIS and the Kestrel server. If the system doesn't have an Internet connection, obtain and install the Microsoft Visual C++ 2015 Redistributable before installing the .NET Core Windows Server Hosting bundle.
2 years ago

I have installed Install the .NET Core Windows Server Hosting bundle and
I have change:
processPath=".\Nop.Web.exe" arguments=""

Now it works!

2 years ago
I had the same problem, but after installing "Window Server hosting runtime" as it's mentioned at the problem solved.
Any body who has the same problem can go to and download "Windows Server Hosting (.exe)". After installation you must restart IIS.
2 years ago
it works after I changed the processPath & arguments to the following  
processPath=".\bin\Debug\net461\Nop.Web.exe" arguments=""
2 years ago
sorry .. duplicated post