I uploaded the files to my server and configured IIS to access the files. Here are the error messages from Event Viewer. I have read numerous articles online on this error message and continue to have the problem.


Common causes of this issue:
The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port

roubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect

Source: IIS AspNetCore Module
Application 'MACHINE/WEBROOT/APPHOST/WWW.ILOVEBLACKHAIR.COM' with physical root 'C:\websites\ecommsite\' failed to start process with commandline 'C:\Program Files\dotnet\dotnet.exe C:\websites\ecommsite\Nop.Web.dll', ErrorCode = '0x80004005 : ff.

Source: Windows Error Reporting

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: dotnet.exe
P2: 2.1.26515.5
P3: 5afb4a19
P4: KERNELBASE.dll
P5: 6.1.7601.23539
P6: 57c99bd4
P7: e0434352
P8: 000000000001a06d
P9:
P10:



Source: Application Error

Faulting application name: dotnet.exe, version: 2.1.26515.5, time stamp: 0x5afb4a19
Faulting module name: KERNELBASE.dll, version: 6.1.7601.23539, time stamp: 0x57c99bd4
Exception code: 0xe0434352
Fault offset: 0x000000000001a06d
Faulting process id: 0x12a4
Faulting application start time: 0x01d4ad724e619ce0
Faulting application path: C:\Program Files\dotnet\dotnet.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 8c25f580-1965-11e9-81c0-001c4296da79


Source: .NET Runtime

Application: dotnet.exe
CoreCLR Version: 4.6.26515.7
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException: Could not load file or assembly 'Microsoft.AspNetCore.Server.Kestrel.Core, Version=2.1.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. Format of the executable (.exe) or library (.dll) is invalid.
   at Nop.Web.Program.Main(String[] args)