Skip to content

Troubleshooting

Solutions to common nopCommerce deployment issues.

Installation Issues

Database Connection Failed

Symptoms: Cannot connect to database during installation

Solutions:

  1. Verify database server is running
  2. Check connection string format
  3. Ensure database user has proper permissions
  4. For SQL Server, enable TCP/IP in Configuration Manager

500 Internal Server Error

Check:

  1. Enable detailed errors in web.config:
xml
<aspNetCore stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" />
  1. Review logs in .\logs\ folder
  2. Check Windows Event Viewer

Runtime Issues

Slow Page Loads

  1. Enable caching in Admin settings
  2. Check database query performance
  3. Review server resources (CPU, RAM)
  4. Consider adding CDN for static files

Out of Memory

  1. Increase application pool memory limit
  2. Review scheduled tasks frequency
  3. Check for memory leaks in custom plugins

SSL Certificate Errors

  1. Verify certificate is valid and not expired
  2. Check certificate chain is complete
  3. Ensure intermediate certificates installed

Common Error Codes

ErrorCauseSolution
500.19Config errorCheck web.config syntax
502.5App startup failureCheck logs, verify .NET installed
503App pool stoppedRestart app pool, check events

Getting Help

  • Check nopCommerce logs: App_Data\Logs\
  • Review nopCommerce Forums
  • Submit GitHub issues for bugs

Released under the nopCommerce Public License.