emonney / QuickApp

ASP.NET Core / Angular startup project template with complete login, user and role management. Plus other useful services for Quick Application Development
https://www.ebenmonney.com/quickapp
MIT License
1.26k stars 594 forks source link

The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request #153

Closed Moalpima closed 1 year ago

Moalpima commented 4 years ago

Hi,

when I set ASPNETCORE_ENVIRONMENT to "Production" and start it for test purpose in VS I got following error:

The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request.

Any ideas?

IngoManthey commented 4 years ago

If you run the side on IIS look in the web.config: `

</aspNetCore>`