Looking for Crystal Clear Installation procedure or nopC

3 months ago
Someone here advice me to open a new topic so I joust did. I declare right from beginning I only looking to know the exact steps required to be able to install nopC.
The steps I done in the correct and exact order.
================
Setup a NEW VM

- Install Win 2022 Desktop Experience
- Windows Update in full
- Install IIS
/Server Manager /Add Roles & Features
/Roles /Web Server (IIS)
  /Web Server
     /Common HTTP Feature: Def Document + Directory Browsing + HTTP errors + Static Content
     /Health and Diagnostic: HTTP Logging + Request Monitor + Tracing
     /Performance: Static Content Compression
     /Security: Request Filtering & IP and Domain Restriction
     /App Dev: Net 3.5 + Net 4.8 + ASP + ASP 3.5 + ASP 4.8 + CGI + ISAPI Ext + ISAPI Filters + Server Side Installers
  /Ftp Server /FTP service
  /Management Tools: IIS Management Console +  IIS 6 Manag Compatibility + IIS 6 Manag Console
/Features
  /Net 3.5: Net 3.5
  /Net 4.8: Net 4.8 + ASP 4.8
    /WCF Services: TCP Post Sharing
  /SMTP Server
  /System Insight
  /Telnet Client
  /WinRM IIS Extension /Install

====================
Create empty folder
D:\Inetpub
D:\Inetpub\Site Name

========================
Setup folder permissions
--------------------------------------
Folder: D:\Inetpub

Administrators  : Full Control /This Folder, subfolder and files
SYSTEM    : Full Control /This Folder, subfolder and files
CREATOR OWNER  : Full control /Subfolder and files only
Users    : Read & execute, List folder contents, Read /This Folder, subfolder and files
TrustedInstaller: Full Control /This Folder, subfolder and files
IIS_IUSRS  : Read & execute /This Folder, subfolder and files

* to Add "TrustedInstaller" user you need to type "NT Service\TrustedInstaller" (Location: Server, Object Type: check ALL) and Check user

--------------------------------------
Setup folder permissions

Folder: D:\Inetpub\Site Name

Administrators  : Full Control /This Folder, subfolder and files
SYSTEM    : Full Control /This Folder, subfolder and files
CREATOR OWNER  : Full control /Subfolder and files only
Users    : Read & execute, List folder contents, Read /This Folder, subfolder and files
TrustedInstaller: Full Control /This Folder, subfolder and files
IIS_IUSRS  : Read & execute /This Folder, subfolder and files

--------------------------------------
Setup folder permissions

Folder: D:\Inetpub Logs

Administrators  : Full Control /This Folder, subfolder and files
SYSTEM    : Full Control /This Folder, subfolder and files
CREATOR OWNER  : Full control /Subfolder and files only
Users    : Read & execute, List folder contents, Read /This Folder, subfolder and files
TrustedInstaller: Full Control /This Folder, subfolder and files

================================
IIS management /Create new site

IIS Management /Server name /Site /Right Click - Add Website
- Define Site name: type name
- Application Pool: autofill the site name
- Psychical Path: brose to the site folder D:\Inetpub\Site Name
- host name: full site name
- Checked: Start Website immediately
- press OK

Inspect Application Pools, notice that the new site have assigned .Net CLR v4.0

==================
nopC Prerequisite
----------------------------

Install:
- dotnet-hosting-runtime-3.1.21-win.exe (i understand that this need to be installed for ALL nopC versions)
- dotnet-hosting-runtime-5.0.3-win.exe (required by version 4.40)

====================
nopC site Installation

- unArch nopC 4.40 in Site Folder

=====================
DNS registration
- in DNS it was created an A record containing site name and IP assigned to the hosting server

======================
Opening nopC site

on nopC server Opening Edge and browse http://site name
return an error:

"HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information:
Module     IIS Web Core
Notification     Unknown
Handler     Not yet determined
Error Code     0x8007000d
Config Error    
Config File     \\?\D:\Inetpub\ZetStudio.BizarNet.Ro\web.config
Requested URL     http://zetstudio.bizarnet.ro:80/
Physical Path    
Logon Method     Not yet determined
Logon User     Not yet determined

Config Source:"

since there is nothing to be done here I try other way:
nop.web.exe /right click /run as administrator
http://localhost:5000

Ip open the page nopC installation

I configure:
- admin user email
- admin password
- confirm password
- Country: Romania
- check Create sample data
- database: MS SQL
- check Create database if does not exist
- (database server name:
- database name:
- uncheck Integrated Windows Authentication
- SQL username: sa
- SQL user pass:
Click INSTALL button

I see "installing NopCommerce"

I see "Setup failed: Sequence contains more than one element"

check Database server and delete the Site database.

Initiating INSTALL again

I see "installing NopCommerce"
I see "Restarting"

nop.web.exe closed automatically

on nopC server Opening Edge and browse http://site name
return an error:

"HTTP Error 500.30 - ASP.NET Core app failed to start
Common solutions to this issue:
The app failed to start
The app started but then stopped
The app started but threw an exception during startup
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"

if anyone knows what I did wrong or it actually have a Working Installation manual please guide me.

Basically I follow all requirements from this page
https://docs.nopcommerce.com/en/installation-and-upgrading/installing-nopcommerce/installing-on-windows.html

I'm not developer, I'm joust a simple person who want to use something if it is public available for ANYONE and I have hard time understand why such simple documentation is not yet available for the public.
3 months ago
Changing Application Pool /Advanced /General: 32 bit Enable or Disable does not bring any good news. (as investigation)

I really do not understand why there is not 1 PAGE description of how to install this software or upgrade from version to another .. and mention ... "if you are happy with this software you can buy this .. or donate here".

You probably done a good software but this Missing of Reliable Documentation only create frustration and angry on the users for time spend for no result with no guidance.

In Europe only mention ONCE and in 5 minutes it is already posted the Step by Step Documentation. here in 2 years no one was able to provide this Step by Step guidance to avoid frustration.
3 months ago
Here is a document to help with Installation
See https://www.selectsystems.com.au/Content/Server%20install%20IIS%20and%20SQL%20Server.pdf

Regards the error maybe you need to turn on Stdout error login and check the log files
See https://selectsystems.com.au/checking-for-errors-on-a-new-installation-of-nopcommerce
3 months ago
Thank you for the documentations. Looks promising. I will study in next 3 days. Thank you !
3 months ago
Based on initial error on first install attempt, it seems that you have an IIS config issue (or permissions problem).

Since you did "...try other way: nop.web.exe /right click /run as administrator" to do the Install, then try nop.web.exe again just to see if the site is OK.  (Check the System Log & Warnings too.)  If so, then you can get back to IIS troubleshooting.

2 months ago
.
2 months ago
To Mr. Yidna
I look over your PDF and I'm preparing to rebuild everything here following the ideeas from there.
Please be kind and clarify one thing to me.
- on a fresh installed machine with IIS installed ... and want to complete  "nopCommerce Prerequisite"
from my knowledge it is required to be installed
.Net Core 3.1.31 Hosting Bundle - ANYWAY
+
.Net7 runtime 7.0.1 - for nopC v4.60

I need to install BOTH or joust the last one ?
2 months ago
This page is correct with the link to download .NetCore Hosting Bundle for the current release
See https://dotnet.microsoft.com/en-us/download/dotnet/7.0
Although there is a later version now  - from here
https://dotnet.microsoft.com/en-us/download/dotnet/7.0

So just the last one
2 months ago
.
2 months ago
I done the following:
1. install IIS, install .NET HOSTING BUNDLE 7.0.15
2. create site as your instructions
3. unarch nopC to Site folder
4. NOT run nop.web.exe yet
5. http://site return error "HTTP Error 500.30 - ASP.NET Core app failed to start"
6. run nop.web.exe
7. http://localhost:5000
8. setup everything /Install
9. I look at SQL server and notice that database was created, install still working
10. restarting
11. https://site name same error "HTTP Error 500.30 - ASP.NET Core app failed to start"

I will done nothing ... I will wait you to answer for guidance.

I'm not developer, I do not know to debug this and that is why is very difficult for me to understand why there is no 1 page manual to instruct to actually being happy to see something working .. not beginning with HARSH TIME

if you are kind to advice, I have patience few days to see this working somehow.