fowara wrote:I see no proper documentation of how to install 4.2 on windows server. It seems the installation keeps changing every release. Can anyone point out a good documentation on how to install 4.2 on Windows 2016.
I am stuck at this error:
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
I enabled logging but it is not not providing any error.
On IIS Log I see this
2020-04-18 06:09:44 172.26.14.128 GET /favicon.ico - 80 - 18.213.209.42 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/81.0.4044.113+Safari/537.36 ....500 19 13 15
Is NopCommerce 4.2 a stable working version?
You can try and replace the processpath and arguments variables back to processPath="dotnet" arguments=".\Nop.Web.dll"
For whatever reason my install on WinServer2012 would not use the global variables installed from the default install.
You can try this if this is not your issue reset back to the default globals. Make sure you follow the requirements for 4.2 and if you have a 3rd party theme make sure they do not have upgrade scripts that need run as well. I have found that 500 internal errors with Nop usually fall back on database, dotnet version, or plugin issues at startup.
If you enabled the stdlogging as stated above, look in the log folder for the latest log, look for Fail and see if you can see where the errors are originating. You posted an IIS log which in my experience with Nop isn't going to lead you to a internal server error problem. It just states the error code sent to the browser.
Hope that helps some, I am no expert but spent many hours diagnosing these issues.