I'm new to nopCommerce and to hosting an ASP.Net application - bear with me.
I created a brand new Win2016 server, added IIS to the server, and installed ASP.net 2.2 (latest version) in preparation for nopCommerce. I created a folder for nopCommerce then, using IIS, I created the nopCommerce web site. Finally, I copied the nopCommerce "source only" code into the folder I created.
My first attempt to access the website failed on the remove statements in the web.config file. I overcame this by changing IIS's settings to allow read/write access to modules.
However, once past that hurdle, I get a message that IIS cannot find the default page. Not being familiar with ASP.Net core, I am assuming that the aspNetCore statement in the web.config file controls the starting page (Nop.Web.dll).
I'm thinking that something in the IIS/ASP.Net Core environment is still not configured correctly, but I lack the experience to teven know how to test it.
Can anyone help me figure out why it's not starting this page and is instead IIS is trying to start a default page as though it were a typical IIS website?
Moved the website from a folder on the E: drive to the default WWWRroot folder on the C: drive. Specified the location to the 64-bit dotnet runtime and now I am at least getting a ASP.Net Core message. Still not getting a STDoutlog.
An error occurred while starting the application. .NET Core 4.6.27414.05 X64 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.1.1-rtm-30846 | Microsoft Windows 10.0.14393 | Need help?
Progress. When I moved the code from the E: drive to the C: drive I forgot to give the AppPool permissions. So I have the code running, but for security amd maintenance I typically install a web site on a drive different that the operating system.
Isw there something I should know before moving the site back to the E: drive?
Changed the default site to look at the E: drive for the code and it worked with no problems. It's almost like it needs to be installed as the default website in IIS. Very strange. It's going to be the only website on the server so I am not concerned, nor do I have the time to test that theory. If get a chance to test that I'll report back here.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.