Can not able to install Nopcommerce latest version on Arvixe - ASP.NET version error in web.config

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
I am trying from last couple of days to install latest version of Nopcommerce on Arvixe but Arvixe throws errors,


Error:
If your Web.config file if not well-formed, please correct the error and try again.
If your Web.config file is not compatible with the ASP.NET version currently selected, please rename the Web.config file and update the ASP.NET version.


Workaround:
When I checked web.config in nopcommerce it is already have <compilation debug="true" targetFramework="4.0" /> added into it.

Here is my web.config :
<?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="AspNetCoreModule" 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="dotnet" arguments=".\Nop.Web.dll" forwardWindowsAuthToken="false" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" startupTimeLimit="3600" />
    <httpProtocol>
      <customHeaders>
        <remove name="X-Powered-By" />
      </customHeaders>
      <compilation debug="true" targetFramework="4.0" />
    </httpProtocol>
  </system.webServer>
</configuration>
5 years ago
Here is what the standard version looks like

<?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="AspNetCoreModule" 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="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" forwardWindowsAuthToken="false" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" startupTimeLimit="3600" />
    <httpProtocol>
      <customHeaders>
        <remove name="X-Powered-By" />
      </customHeaders>
    </httpProtocol>
  </system.webServer>
</configuration>

To switch on error logging change stdoutLogEnabled="false" to true
5 years ago
Still facing the same error after updating web.config from you.

Is there any other settings in web.config which can be done for ASP.NET version ?
5 years ago
Hi,
Just contact to Arvix team and confirm are they support hosting for Asp.Net CORE.

Many shared hosting service provider not supporting Asp.NET CORE.
5 years ago
I have uploaded nopcommerce shopping website 2 years ago on the same arvixe hosting server where I am now trying to host newest version of nopcommerce portal. does it mean there is new changes which should be asked from Arvixe?

For me this issue is more like Nopcommerce web.config side when I uploaded no-source nopcommerce on arvixe
5 years ago
aamiraja1 wrote:
I have uploaded nopcommerce shopping website 2 years ago on the same arvixe hosting server where I am now trying to host newest version of nopcommerce portal. does it mean there is new changes which should be asked from Arvixe?

For me this issue is more like Nopcommerce web.config side when I uploaded no-source nopcommerce on arvixe


nopCommerce Web.Config file fine.
Till nopComemrce version 3.90 developed on ASP.NET, from version 4.0 it move to ASP.NET CORE.
So you need to just clear from Arvix team, are they support hosting for ASP.NET in shared hosting plan.
5 years ago
Hello,

Yes you need to follow rajupaladiya solution.

First of all check arvixe support asp.net core version.

You can generate support ticket from arvixe  hosting provider.
4 years ago
Hi, did you manage to get this problem resolved as I have same problem?

Regards,
Stuart.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.