Click here to Skip to main content
15,886,091 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
An unhandled exception occurred while processing the request.
InvalidOperationException: The view 'Index1' was not found. The following locations were searched:

/Views/Produtoes/Index1.cshtml
/Views/Shared/Index1.cshtml
/Pages/Shared/Index1.cshtml

What I have tried:

Criar um sistema de vendas, porém não usei index como principal, eu criei outra página index1 e tentei colocar o sistema de vendas nela

Translation:
Create a sales system, but i didn't use index as main, i created another index1 page and tried to put the sales system on it
Posted
Updated 20-Nov-20 3:17am
v2
Comments
CHill60 20-Nov-20 8:01am    
Em inglês por favor

1 solution

At some point in your ProdutoesController, you either have an action called Index1 which calls the View method, or you have an action which calls the View method and specifies a view name of "Index1".

You do not have a view called "Index1".

Either create the missing view, or correct the action or view name in your controller.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900