Reputation: 425
I am trying to deploy my application to IIS and everything seems to work however when I go to open up the web site I get the error below in the browser. I tried running it locally on the server its self with dotnet "myapp.dll" and It loads everything accept my client side stuff as seen below it fails on a node process. (So my guess is it has something to do with node not serving my client side?) Any help resolving this issue would be greatly appreciated.
I have the "AspNetCoreModule" installed and enabled in IIS
Both dev machine and server are running the same versions of the following:
dotnet
node
Upvotes: 1
Views: 234
Reputation: 425
I figured it out I installed "dotnet-hosting-2.1.3-win.exe" and never restarted IIS "iisreset /noforce" and presto it worked...... 5 days uninstalling, reinstalling, and all it took was a simple command to fix it.
Upvotes: 2