1

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
4
  • are you trying to deploy the node server on IIS or angular application only along with your asp .net application? Commented Aug 27, 2018 at 18:01
  • Deploy my anuglar application with my asp.net on IIS. @VaibhavKumarGoyal Commented Aug 27, 2018 at 18:13
  • so again to clarify over this i believe the angular application is a separate application all together within itself , can you share your IIS hosting application and URL rewrite rules ? @Snowman08 Commented Aug 27, 2018 at 18:30
  • I figured it out - see my answer below @VaibhavKumarGoyal Commented Aug 27, 2018 at 20:44

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.