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.