4.20 install problem

9 months ago
Tried to install a new version of nop 4.20 but the following error happens:


This page isn’t working

localhost redirected you too many times.

ERR_TOO_MANY_REDIRECTS



= Neither installation did work on a local server, nor on SmarterAsp Host.
= Neither installation did work on no Source code version, nor with Source Code version.

But only worked while debugging with VS.

- version: 4.20.
- datasettings.json, plugin.json deleted from app_data(as it a new version).
- Visual Studio 2019.
- MS SQL Server (2012, 2017).
9 months ago
Hello,

Unfortunately, this error doesn't give any useful information. Please follow the instructions from this article and share with us the error details.

Regards,
Anton
9 months ago
Thanks, Anton,

I tried logs in SmarterAsp host, but nothing is saved in the logs folder.

On my local server, there are some logs but with data which I don't find any useful info on those logs. Anyway, I'll paste them maybe it's my fault.


#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2019-05-30 12:51:01
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2019-05-30 12:51:01 ::1 GET / - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 18051
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 160
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 32
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 79
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 27
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 60
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 28
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 131
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 58
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 48
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 37
2019-05-30 12:51:01 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 135
2019-05-30 12:51:02 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 129
2019-05-30 12:51:02 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 25
2019-05-30 12:51:02 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 32
2019-05-30 12:51:02 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 55
2019-05-30 12:51:02 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 106
2019-05-30 12:51:02 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 17
2019-05-30 12:51:02 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 103
2019-05-30 12:51:02 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 29
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 176
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 65
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 9
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 38
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 6
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 9
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 6
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 7
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 12
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 6
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 7
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 9
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 6
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 9
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 8
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 6
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 11
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 8
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 6
2019-05-30 12:51:03 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 9
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 107
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 48
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 7
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 11
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 8
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 7
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 7
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 250
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 135
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 17
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 19
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 7
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 6
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 9
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 8
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 6
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 8
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 7
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 10
2019-05-30 12:51:09 ::1 GET /install - 82 - ::1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/74.0.3729.169+Safari/537.36 - 302 0 0 9
9 months ago
Hi,

Can you walk me through your installation process of 4.20? From where did you get the code, did you build it yourself or did you use the Source version of the application?
Have you installed everything needed for nopCommerce 4.2 described in this article?
What is the configuration on your local machine in IIS?

Regards,
Anton
9 months ago
The first try was the source code version, installed from GitHub releases. The development environment is Visual Studio Pro 2019.

while debugging everything works good (installation and running), but after publish to SmarterAsp didn't work.
So I tried nopCommerce_4.20_NoSource_SelfContained downloaded from the nopCommerce site. but neither worked on SmarterAsp, nor on my local server.

My local machine configuration:

- OS: windows server 2012 RT Data Center.
- CPU: Intel Core 2 Due 6320 1.86.
- Ram: 8 GB.
- IIS: 8.5.
- .Net Core 2.2 is installed (runtime, hosting..)

Another machine (which is my laptop):
- OS: windows 10.
- CPU: Intel Core i7 5500 2.40.
- Ram: 12 GB.
- IIS: 10.
- .Net core SDK 2.2 (also 3 Preview) are installed.
9 months ago
Hi,

Everything in your server configuration seems fine.
I did some digging around the forum and found out this error only ever happened when someone enabled SSL but did not enable them for all pages or giving bad https URL for the store.

If you've managed to install the database, check your Store Url and SSL settings. Also, check your web.config for any URL Rewritings.

By the looks of it, your application is actually starting but something in the configuration is forcing bad redirects in the browser, so I don't think it is actually 4.20's fault but your configuration.
I would suggest you start with your local machine to understand what really is the issue.

Hope that helps!
9 months ago
Thank you so much, especially for your time,

I think too it's something wrong on my side. It's just confusing me as it's a fresh new version without any customization or even configuration like SSL or other configs.

Anyway, I'll continue to investigate this issue.

Thanks again, I appreciate that.
8 months ago
Any Updates to this post ? I've encountered the same issue.

file downloaded nopCommerce 4.20 - Web (no source) ( https://www.nopcommerce.com/downloads.aspx )
IIS VM trying to run on a subdomain.

the final URL with error message ( ERR_TOO_MANY_REDIRECTS ) http://shop.*****.com/install
8 months ago
I've solved the issue by giving Rights to IISuser and IUSer , hope this helps someone in future.
4 months ago
Old thread I know, but the solution with smarterasp or everleap is to make the following change in the appsettings.json file in the root of the project:

"UseHttpXForwardedProto": true, //This line changed by Everleap to support ssl on the load balancer by Frank 5/30/18


If you use this setting on your local host, the site will not launch. Go back to setting to 'false'.

Thanks to Frank @ Everleap for finding this for me a while back.