Snowman08
Snowman08

Reputation: 425

Issue deploying ASP.net angular application to IIS

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.

Error in browser

enter image description here

Error in cmd line when I run dotnet locally on the server its self

enter image description here

Other info

 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

Answers (1)

Snowman08
Snowman08

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

Related Questions