Troubleshoot ASP.NET Core Application Issue (NopCommerce)

You can troubleshoot your ASP.NET Core application by enabling stdout logging in the NopCommerce web.config. Simply locate the following line and set stdoutLogEnabled=true.

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

When you are done, the line should look like:

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

Reload your website and give the application enough time to restart. Wait until the page is fully loaded and stops spinning. When that's done, navigate to your file structure in your control panel or FTP and look inside the Logs folder in the 'httpdocs' directory. Open the log file and look for lines that mention fail: This will give you an indication of why the application is failing to start properly and you can work on resolving.

IMPORTANT: Do not forget to disable stdout logging when you are done troubleshooting as the application will run very slowly as additional debugging routines are used. Also, clean up any old stdout log files so you keep a clean workspace for the next time you use this feature.


Looking for reliable Windows hosting with Award Winning Customer Support?
Grab your hosting today with a 20% discount. All plans come with our 60 Money Back Guarantee!

Check out our plans & promotions on our website -- https://www.peopleshost.com/

  • nopcommerce, nopcommerce 4.0, ASP.NET, troubleshoot, .NET Core
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to configure nopCommerce to send emails

You can set up your nopCommerce store to email from your domain by configuring the Email Accounts...

Enabling a SSL certificate in nopCommerce

If you've purchased and setup a SSL for your domain, you will want to enable the SSL so that it...

How to Install NopCommerce

PeoplesHost supports the latest version of ASP.NET Core and the latest NopCommerce release. If...

Do you support the latest version of NopCommerce?

Yes, as a longstanding NopCommerce Silver Partner, we are very familiar with the software and...

Installing NopCommerce with Plesk

PeoplesHost supports the latest versions of .NET Core, and the latest versions of NopCommerce on...