Getting started. Installing and upgrading nopCommerce.

4 年 前
cebina wrote:
Does any one awailable to explain - how to install 4.20 on REMOTE Linux based hosting?

hallo,
u can check here  https://docs.nopcommerce.com/user-guide/installing/linux.html


I my English so bad and you did not understand what I mean, when say "on REMOTE Linux based hosting"?
4 年 前
mhsjaber wrote:
Try to access database using sql server username and password.


we can connect to mssql Server from our local machine with mssql Manager and create new database … but by install nopcommerce come (Setup failed: Database does not exist or you don't have permissions to connect to it) this error.
4 年 前
cebina wrote:
Hello,
i want install Nopcommerce on Linux (no source) i get error: "Setup failed: Database does not exist or you don't have permissions to connect to it"

i set all permission and Connection from SQL Server Manager all is OK!

i dont what is Problem,
please help

Best Regards
Cebina



i install nopCommerce 4.20 (source Code ) on Linux and working good,but if i want install (No source Code) i get error: "Setup failed: Database does not exist or you don't have permissions to connect to it",  does anyone have any idea what the problem is?
4 年 前
Hi,

After we publish files to IIS, we receive some errors.

Error;

"There was an error while performing this operation.
Details:
Filename: \\?\C:\SomePath\web.config
Error: Cannot write configuration file due to insufficient permissions
Solution:"

Could you help us to start our Nopcommerce?

Thanks
4 年 前
Have a look at this post about permissions
https://www.nopcommerce.com/boards/topic/67670/nop-commerce-42-and-iis-10-in-windows-server-2019
4 年 前
is there any tutorial about installing nopcommerce (without source), on a localhost?. I need to try it before before install on a real server.
thanks
4 年 前
Hi;

When I Build in VS 2019, I get the attached error.



Regards.

Severity  Code  Description  Project  File  Line  Suppression State
Error  CS0006  Metadata file 'C:\Users\Administrator\Downloads\yyyy420\src\Presentation\Nop.Web\bin\Debug\netcoreapp2.2\Nop.Web.dll' could not be found  Nop.Plugin.Payments.Qualpay  C:\Users\Administrator\Downloads\yyyy420\src\Plugins\Nop.Plugin.Payments.Qualpay\CSC  1  Active
Error  CS0006  Metadata file 'C:\Users\Administrator\Downloads\yyyy420\src\Presentation\Nop.Web\bin\Debug\netcoreapp2.2\Nop.Web.dll' could not be found  Nop.Plugin.Payments.Square  C:\Users\Administrator\Downloads\yyyy420\src\Plugins\Nop.Plugin.Payments.Square\CSC  1  Active
Error  CS0006  Metadata file 'C:\Users\Administrator\Downloads\yyyy420\src\Presentation\Nop.Web\bin\Debug\netcoreapp2.2\Nop.Web.dll' could not be found  Nop.Plugin.Tax.Avalara  C:\Users\Administrator\Downloads\yyyy420\src\Plugins\Nop.Plugin.Tax.Avalara\CSC  1  Active
Error  CS0006  Metadata file 'C:\Users\Administrator\Downloads\yyyy420\src\Presentation\Nop.Web\bin\Debug\netcoreapp2.2\Nop.Web.dll' could not be found  Nop.Web.MVC.Tests  C:\Users\Administrator\Downloads\yyyy420\src\Tests\Nop.Web.MVC.Tests\CSC  1  Active
Error  MSB3030  Could not copy the file "C:\Users\Administrator\Downloads\yyyy420\src\Presentation\Nop.Web\Plugins\ExternalAuth.Facebook\plugin.json" because it was not found.  Nop.Web  C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets  4570  
Error  MSB3030  Could not copy the file "C:\Users\Administrator\Downloads\yyyy420\src\Presentation\Nop.Web\Plugins\ExternalAuth.Facebook\Nop.Plugin.ExternalAuth.Facebook.deps.json" because it was not found.  Nop.Web  C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets  4570  
Error  MSB3030  Could not copy the file "C:\Users\Administrator\Downloads\yyyy420\src\Presentation\Nop.Web\Plugins\Widgets.GoogleAnalytics\Nop.Plugin.Widgets.GoogleAnalytics.deps.json" because it was not found.  Nop.Web  C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets  4570  
Error  MSB3030  Could not copy the file "C:\Users\Administrator\Downloads\yyyy420\src\Presentation\Nop.Web\Plugins\Widgets.GoogleAnalytics\plugin.json" because it was not found.  Nop.Web  C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets  4570
4 年 前
rggr wrote:
is there any tutorial about installing nopcommerce (without source), on a localhost?. I need to try it before before install on a real server.
thanks

nopCommerce is nothing but a web based .Net application. You can deploy it just like any other projects. First check Technology & System Requirements and make sure all available on your machine, turn on IIS if not already and then run IIS and publish nopCommerce on it. You can also read this documentation for better understanding.
4 年 前
Hi,

It meets the installation requirements.
When I debug over VS 2019, I get the following error.


Exception: A plugin with 'DiscountRequirement.MustBeAssignedToCustomerRole' system name is already defined
Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, NopConfig config) in ApplicationPartManagerExtensions.cs, line 482

Exception: A plugin with 'DiscountRequirement.MustBeAssignedToCustomerRole' system name is already defined
Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, NopConfig config) in ApplicationPartManagerExtensions.cs, line 579

Exception: A plugin with 'DiscountRequirement.MustBeAssignedToCustomerRole' system name is already defined
Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, NopConfig config) in ApplicationPartManagerExtensions.cs
+
                        pluginDescriptor.Installed = PluginsInfo.InstalledPluginNames

Show raw exception details
Exception: A plugin with 'DiscountRequirement.MustBeAssignedToCustomerRole' system name is already defined
Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, NopConfig config) in ApplicationPartManagerExtensions.cs
+
                    throw new Exception(message, exception);
Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.ConfigureApplicationServices(IServiceCollection services, IConfiguration configuration, IHostingEnvironment hostingEnvironment) in ServiceCollectionExtensions.cs
+
            mvcCoreBuilder.PartManager.InitializePlugins(nopConfig);
Nop.Web.Startup.ConfigureServices(IServiceCollection services) in Startup.cs
+
            return services.ConfigureApplicationServices(_configuration, _hostingEnvironment);
Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
4 年 前
LinusTeknoloji wrote:
A plugin with 'DiscountRequirement.MustBeAssignedToCustomerRole' system name is already defined

It says that, there are more than one plugins with the system name DiscountRequirement.MustBeAssignedToCustomerRole in your application. Check plugin.json inside all folders of Nop.Web > Plugins.