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>
<?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
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
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.