Getting started. Installing and upgrading nopCommerce.

2 года назад
Switch on Stdout Logging
See https://www.selectsystems.com.au/checking-for-errors-on-a-new-installation-of-nopcommerce
2 года назад
Hi RK.Menon

Thanks for the response.

1. Check is there any error log from windows Event Viewer (i have assumed you have deployed it to Windows server)
2. Check Store Host values and store url from Store table from your DB

I am pretty new to all of this. Could you explain in step by step process?

Hi Yidna,

Thanks for the answer. I Switched on Stdout Logging and still the same message.
"500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed."
2 года назад
Sach987 wrote:
Hi RK.Menon
I am pretty new to all of this. Could you explain in step by step process?
"

https://kb.blackbaud.com/knowledgebase/Article/75433
https://docs.nopcommerce.com/en/getting-started/advanced-configuration/your-store-information.html
check these links.
2 года назад
This is now the web.config file

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <modules>
      <!-- Remove WebDAV module so that we can make DELETE requests -->
      <remove name="WebDAVModule" />
    </modules>
    <handlers>
      <!-- Remove WebDAV module so that we can make DELETE requests -->
      <remove name="WebDAV" />
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
    </handlers>
    <!-- When deploying on Azure, make sure that "dotnet" is installed and the path to it is registered in the PATH environment variable or specify the full path to it -->
    <aspNetCore requestTimeout="23:00:00" processPath=".\Nop.Web.exe" arguments="" forwardWindowsAuthToken="false" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" startupTimeLimit="3600" hostingModel="InProcess"></aspNetCore>
    <httpProtocol>
      <customHeaders>
        <remove name="X-Powered-By" />
        <!-- Protects against XSS injections. ref.: https://www.veracode.com/blog/2014/03/guidelines-for-setting-security-headers/ -->
        <add name="X-XSS-Protection" value="1; mode=block" />
        <!-- Protects against Clickjacking attacks. ref.: http://stackoverflow.com/a/22105445/1233379 -->
        <add name="X-Frame-Options" value="SAMEORIGIN" />
        <!-- Protects against MIME-type confusion attack. ref.: https://www.veracode.com/blog/2014/03/guidelines-for-setting-security-headers/ -->
        <add name="X-Content-Type-Options" value="nosniff" />
        <!-- Protects against Clickjacking attacks. ref.: https://www.owasp.org/index.php/HTTP_Strict_Transport_Security_Cheat_Sheet -->
        <add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains" />
        <!-- CSP modern XSS directive-based defence, used since 2014. ref.: http://content-security-policy.com/ -->
        <add name="Content-Security-Policy" value="default-src 'self'; connect-src *; font-src * data:; frame-src *; img-src * data:; media-src *; object-src *; script-src * 'unsafe-inline' 'unsafe-eval'; style-src * 'unsafe-inline';" />
        <!-- Prevents from leaking referrer data over insecure connections. ref.: https://scotthelme.co.uk/a-new-security-header-referrer-policy/ -->
        <add name="Referrer-Policy" value="same-origin" />
        <!-- Permissions-Policy is a new header that allows a site to control which features and APIs can be used in the browser. ref.: https://w3c.github.io/webappsec-permissions-policy/ -->
        <add name="Permissions-Policy" value="accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=*, usb=()" />
      </customHeaders>
    </httpProtocol>
  </system.webServer>
</configuration>
<!--ProjectGuid: 4f1f649c-1020-45be-a487-f416d9297ff3-->
2 года назад
Please follow the installation guide that is on the below link.
https://www.nopcommerce.com/en/boards/topic/92834/nopcommerce-4500-rc-is-available

Might be you forgot to install the .NET 6 SDK or Windows Hosting Bundle
2 года назад
Hi Sangeet, thanks for the answer.

Followed the installation guide diligently. Installed the RC 4.50 - No source code (download this package if you want to quickly deploy your site to a web server.)

Now, with regard to your answer, I am confused. 'Might be you forgot to install the .NET 6 SDK or Windows Hosting Bundle'

Do I need to install .NET 6 SDK or Windows Hosting Bundle at my side? Because I am trying to host this site on Godaddy Windows Plesk Hosting. And I don't think, I can make any changes at the server side.

Kindly clarify, and kindly provide me a step by step process. That would be really helpful.


Regards
2 года назад
@ Sach987 - you'll need to ensure your GoDaddy hosting has the required .net6 installed.

You only need to have net6 installed locally if you plan to run locally, and also if you plan on development.
2 года назад
Hi @untiedshoes and rest of the forum members,

Never thought, this nopcomemrce deployment will be so tough. It's incredibly tough.

I checked with my Godaddy support team and they provide the ASP.NET 4.8.03761 version only.

Now, can NopCommerce or any of you guys help me make some changes in the code so that I can run this website on Godaddy hosting which provides ASP.NET 4.8.03761 version only.
2 года назад
Hello everyone, trying to install nopcommerce in Azure portal. However, when I type in the nopcommerce in the search bar in azure portal, it only shows 'Secured nopCommerce on Windows 2012 R2  Cognosys'. The nopcommerce option is not available. What can be done?
2 года назад
NopCommerce not available in Microsoft Azure marketplace. What's the way out now?