Getting started. Installing and upgrading nopCommerce.

1 year ago
Hi,

There is no clear instructions on publishing source 4.1

We have no problem building the website and creating the admin logon and connecting to the database in the setup page http://localhost:15536/ on our Azure VM.

When publishing Nop.Web to IIS v.10 no landing page gets created. When browsing to our default profile URL a page not found error appears.

The configuration setting is set to Release when publishing.

Please assist.
11 months ago
I don't know what happened I have changed my hosting. now I am used VPS with Plesk panel. I have uploaded my all the file new hosting after upload not working here is error An error occurred while starting the application.

here is my log

Application startup exception: Newtonsoft.Json.JsonReaderException: Bad JSON escape sequence: \M. Path 'DataConnectionString', line 3, position 39.
   at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
   at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
   at Newtonsoft.Json.JsonTextReader.ReadAsString()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Nop.Core.Data.DataSettingsManager.LoadSettings(String filePath, Boolean reloadSettings, INopFileProvider fileProvider)
   at Nop.Core.Data.DataSettingsManager.get_DatabaseIsInstalled()
   at Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.AddThemes(IServiceCollection services)
   at Nop.Core.Infrastructure.NopEngine.ConfigureServices(IServiceCollection services, IConfiguration configuration)
   at Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.ConfigureApplicationServices(IServiceCollection services, IConfiguration configuration)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
crit: Microsoft.AspNetCore.Hosting.Internal.WebHost[6]
      Application startup exception
Newtonsoft.Json.JsonReaderException: Bad JSON escape sequence: \M. Path 'DataConnectionString', line 3, position 39.
   at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
   at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
   at Newtonsoft.Json.JsonTextReader.ReadAsString()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Nop.Core.Data.DataSettingsManager.LoadSettings(String filePath, Boolean reloadSettings, INopFileProvider fileProvider)
   at Nop.Core.Data.DataSettingsManager.get_DatabaseIsInstalled()
   at Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.AddThemes(IServiceCollection services)
   at Nop.Core.Infrastructure.NopEngine.ConfigureServices(IServiceCollection services, IConfiguration configuration)
   at Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.ConfigureApplicationServices(IServiceCollection services, IConfiguration configuration)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
Hosting environment: Production
Content root path: C:\Inetpub\vhosts\amarebazar.com\httpdocs
Now listening on: http://127.0.0.1:45375
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://amarebazar.com/  
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 90.6911ms 500 text/html; charset=utf-8
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://amarebazar.com/favicon.ico  
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 0.2305ms 500 text/html; charset=utf-8
7 months ago
I am trying to setup nopCommerce 4.2 beta on Linux. I have installed apache2, dotnet and other basic things on server. I uploaded the nopCommerce 4.2 no source and with source both on server. When I use command dotnet publish or dotnet run on the project it seems like it does not detect the project. The error is:

Couldn't find a project to run. Ensure a project exists in /var/www/html/nopCommerceNoSource, or pass the path to
the project using --project.

Can anyone please guide me on how to setup nopCommerce on Linux.
Thank you.
6 months ago
Google cloud (Windows server 2016 win10)

Hello all. I wonder if someone can help me. (first time using IIS and nopcommerce)
I tried to use noppcomerce 4.1 (package without source code) and set path from IIS website to wwwroot folder. But when I browse website an error occure:

"HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory."

I've added permissions to read/write for IIS_IUSERS.
Use default application pool (.NET 4.0 integrated).
6 months ago
Naverin wrote:
Google cloud (Windows server 2016 win10)

Hello all. I wonder if someone can help me. (first time using IIS and nopcommerce)
I tried to use noppcomerce 4.1 (package without source code) and set path from IIS website to wwwroot folder. But when I browse website an error occure:

"HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory."

I've added permissions to read/write for IIS_IUSERS.
Use default application pool (.NET 4.0 integrated).


OMG what a stupid am I. Change path to folder up wwwroot and it's works. Installation page starts )
5 months ago
Hello everybody,

Is there any manual how to install NOP 4.2 on linux?

Thanks in advance
5 months ago
i have installed Microsoft .Net Core 2.2.5 & 2.2.1.10-Windows Server Hosting(2.1.10 for 4.10) and Microsoft .Net Core Runtime-2.1.10 and 2.2.5.
new site with latest noSource code is also not working and giving error "HTTP Error 502.5 - Process Failure".
4 months ago
Hello,

I'm trying to install nopCommerce_4.20_NoSource_SelfContained to my customer's webhosting site.
Is it possible to run this on a general webhosting service? Do I need to a cloud server hosting, or a physical server dedicated? I'm stuck for several days. Any help appriciated.
3 months ago
a.m. wrote:
Before posting the questions, please read the following articles. They describe how to download nopCommerce software, upload it to your server, define the file permissions, and install it on your system. You'll also get information on how to upgrade nopCommerce to the latest version.

Technology & System Requirements
Installing nopCommerce
Upgrading nopCommerce

P.S. This topic is just an announcement about new articles. Please do not post questions here. Please create new topics for new questions about installation or configuration
2 months ago
I have been trying to install NopCommerce 4.10

When I try to install the plugin, getting the error:

No constructor was found that had all the dependencies satisfied?

what should i do?