Getting started. Installing and upgrading nopCommerce.

2 месяца назад
Hi

I'm trying to install the local source code version of nopcommerce, but sadly I 'haven't be able to make it work.

I'm using visual studio 2022
I did install all the requirements

I'm unable to compile it, I have the following errors for the importmanager.cs file:

Severity  Code  Description  Project  File  Line  Suppression State
Error  CS0019  Operator '??' cannot be applied to operands of type 'XLCellValue' and 'string'  Nop.Services  G:\solution\Libraries\Nop.Services\ExportImport\ImportManager.cs  1210  Active


Thank you for your help

2 месяца назад
You downloaded the Source Code version from here ?
See https://www.nopcommerce.com/en/download-nopcommerce

Did you make any changes to the source code ?
2 месяца назад
Hi

Thank you for your fast response.

1- yes I did and I just update the nugets and validate that they were compatible with .net 7

2 - I did download again and did not any updates,

2.1 - I have the following message : this solution contains packages with vulnerabilities
2.2- The solutions can be build
2.3- I select the folder nop.web for the local IIS

2.3.1 - when running the solution (nop.web) I have the following error

HTTP Error 500.0 - ASP.NET Core IIS hosting failure (in-process)
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
For more guidance on diagnosing and handling these errors, visit Troubleshoot ASP.NET Core on Azure App Service and IIS.

3- I did download the no source code version
3.1 I select the folder in the local IIS and it work with no issue.

So the local iis looks ok if its able to run the no source code version
I tried the git version and I was unable to build it and the website version I can build it but unable to run it (Error 500.0).

Thank you
2 месяца назад
ipcommerce wrote:
...
2.1 - I have the following message : this solution contains packages with vulnerabilities
2.2- The solutions can be build
2.3- I select the folder nop.web for the local IIS

2.3.1 - when running the solution (nop.web) I have the following error
...

Are you running it from in Visual Studio?