I have an error when I install nopCommerce 4.1

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
a.m. and everyone help me

I have an error when I install nopCommerce 4.1

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information:
Module     IIS Web Core
Notification     Unknown
Handler     Not yet determined
Error Code     0x8007000d
Config Error    
Config File     \\?\C:\nopCo\web.config
Requested URL     http://localhost:80/
Physical Path    
Logon Method     Not yet determined
Logon User     Not yet determined

Config Source:
   -1:
    0:

More Information:
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »
5 years ago
Have you loaded all the prerequisites

See http://docs.nopcommerce.com/display/en/Installation+guide

http://docs.nopcommerce.com/pages/viewpage.action?pageId=10256757

For nopCommerce 4.10 or above. Install .NET Core 2.1 runtime (download).
5 years ago
Yidna wrote:
Have you loaded all the prerequisites

See http://docs.nopcommerce.com/display/en/Installation+guide

http://docs.nopcommerce.com/pages/viewpage.action?pageId=10256757

For nopCommerce 4.10 or above. Install .NET Core 2.1 runtime (download).



- I did it but it don't work
- But it work well when I instal nopCommerce 4.0
- Please help me!
5 years ago
hanet wrote:

- I did it but it don't work
- But it work well when I instal nopCommerce 4.0
- Please help me!


The error code 0x8007000d means invalid configuration file. Did you modify web.config file?
5 years ago
RoastedBytes wrote:

- I did it but it don't work
- But it work well when I instal nopCommerce 4.0
- Please help me!

The error code 0x8007000d means invalid configuration file. Did you modify web.config file?



I have just learn asp.net
Could you help me to modify it?


<?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>
5 years ago
hanet wrote:

- I did it but it don't work
- But it work well when I instal nopCommerce 4.0
- Please help me!

The error code 0x8007000d means invalid configuration file. Did you modify web.config file?


I have just learn asp.net
Could you help me to modify it?


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


https://www.nopcommerce.com/boards/t/54583/http-error-5025-process-failure-nopcommerce-410.aspx
5 years ago
I did that, but it still not work
5 years ago
hanet wrote:
I did that, but it still not work


I did this:
1. Extracted nopcommerce to a folder inetpub. Configured security - shared access;
2. Set up the site in IIS
3. Opened the project in Visual Studio
4. Nop.Web - right button - publish. Selection IIS. Fill in the data for access and click here - Done

The project was launched from Visual Studio, but in the external environment.
5 years ago
Had same issue had to reinstall Windows Server Hosting bundle: https://aka.ms/dotnetcore-2-windowshosting

Followed the following article:
[url]https://blogs.msdn.microsoft.com/rohithrajan/2018/03/13/500-19-error-or-502-5-error-when-hosting-asp-net-core-2-application-inside-iis/[url]
4 years ago
[quote=mmarriott]Had same issue had to reinstall Windows Server Hosting bundle: https://aka.ms/dotnetcore-2-windowshosting

Thanks. This is worked for me
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.