Skip to content

InvalidOperationException: 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. #8112

Answered by jeromelaban
andrijac asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the report. This is generally caused by a prior build issue. Close IIS Express explicitly (in the task bar) and rebuild the project.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by andrijac
Comment options

You must be logged in to vote
1 reply
@jeromelaban
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #8111 on February 16, 2022 13:58.